Skip to content

Commit 450159a

Browse files
authored
Merge pull request #427 from PeterDaveHello/fix-indent
Fix indent in views, shouldn't mix tabs with spaces
2 parents 2a5a518 + 5f3fe5c commit 450159a

5 files changed

Lines changed: 20 additions & 20 deletions

File tree

public/views/hackmd/body.ejs

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -6,10 +6,10 @@
66
<div class="ui-infobar container-fluid unselectable hidden-print">
77
<small>
88
<span>
9-
<span class="ui-lastchangeuser" style="display: none;">&thinsp;<i class="ui-user-icon small" data-toggle="tooltip" data-placement="right"></i></span>
10-
<span class="ui-no-lastchangeuser">&thinsp;<i class="fa fa-clock-o fa-fw" style="width: 18px;"></i></span>
11-
&nbsp;<span class="text-uppercase ui-status-lastchange"></span>
12-
<span class="ui-lastchange text-uppercase"></span>
9+
<span class="ui-lastchangeuser" style="display: none;">&thinsp;<i class="ui-user-icon small" data-toggle="tooltip" data-placement="right"></i></span>
10+
<span class="ui-no-lastchangeuser">&thinsp;<i class="fa fa-clock-o fa-fw" style="width: 18px;"></i></span>
11+
&nbsp;<span class="text-uppercase ui-status-lastchange"></span>
12+
<span class="ui-lastchange text-uppercase"></span>
1313
</span>
1414
<span class="ui-permission dropdown pull-right">
1515
<a id="permissionLabel" class="ui-permission-label text-uppercase" data-toggle="dropdown" role="button" aria-haspopup="true" aria-expanded="false">

public/views/hackmd/header.ejs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
<nav class="navbar navbar-default navbar-fixed-top unselectable hidden-print">
22
<!-- Brand and toggle get grouped for better mobile display -->
33
<div class="navbar-header">
4-
<div class="pull-right" style="margin-top: 17px; color: #777;">
4+
<div class="pull-right" style="margin-top: 17px; color: #777;">
55
<div class="visible-xs">&nbsp;</div>
66
<div class="visible-sm">&nbsp;</div>
77
<div class="visible-md">&nbsp;</div>

public/views/pretty.ejs

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -16,18 +16,18 @@
1616
<% } %>
1717
<title><%= title %></title>
1818
<link rel="icon" type="image/png" href="<%- url %>/favicon.png">
19-
<link rel="apple-touch-icon" href="<%- url %>/apple-touch-icon.png">
20-
<% if(useCDN) { %>
19+
<link rel="apple-touch-icon" href="<%- url %>/apple-touch-icon.png">
20+
<% if(useCDN) { %>
2121
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/twitter-bootstrap/3.3.7/css/bootstrap.min.css" integrity="sha256-916EbMg70RQy9LHiGkXzG8hSg9EdNy97GazNG/aiY1w=" crossorigin="anonymous" />
2222
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/4.7.0/css/font-awesome.min.css" integrity="sha256-eZrrJcwDc/3uDhsdt61sL2oOBY362qM3lon1gyExkL0=" crossorigin="anonymous" />
2323
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/ionicons/2.0.1/css/ionicons.min.css" integrity="sha256-3iu9jgsy9TpTwXKb7bNQzqWekRX7pPK+2OLj3R922fo=" crossorigin="anonymous" />
2424
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/octicons/3.5.0/octicons.min.css" integrity="sha256-QiWfLIsCT02Sdwkogf6YMiQlj4NE84MKkzEMkZnMGdg=" crossorigin="anonymous" />
2525
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/emojify.js/1.1.0/css/basic/emojify.min.css" integrity="sha256-UOrvMOsSDSrW6szVLe8ZDZezBxh5IoIfgTwdNDgTjiU=" crossorigin="anonymous" />
2626
<%- include build/pretty-header %>
27-
<% } else { %>
27+
<% } else { %>
2828
<link rel="stylesheet" href='<%- url %>/build/emojify.js/dist/css/basic/emojify.min.css'>
2929
<%- include build/pretty-pack-header %>
30-
<% } %>
30+
<% } %>
3131
<%- include shared/polyfill %>
3232
</head>
3333

@@ -38,7 +38,7 @@
3838
<% if(lastchangeuserprofile) { %>
3939
<span class="ui-lastchangeuser">&thinsp;<i class="ui-user-icon small" style="background-image: url(<%- lastchangeuserprofile.photo %>);" data-toggle="tooltip" data-placement="right" title="<%- lastchangeuserprofile.name %>"></i></span>
4040
<% } else { %>
41-
<span class="ui-no-lastchangeuser">&thinsp;<i class="fa fa-clock-o fa-fw" style="width: 18px;"></i></span>
41+
<span class="ui-no-lastchangeuser">&thinsp;<i class="fa fa-clock-o fa-fw" style="width: 18px;"></i></span>
4242
<% } %>
4343
&nbsp;<span class="text-uppercase ui-status-lastchange"></span>
4444
<span class="ui-lastchange text-uppercase" data-createtime="<%- createtime %>" data-updatetime="<%- updatetime %>"></span>

public/views/shared/polyfill.ejs

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
<!-- HTML5 shim and Respond.js for IE8 support of HTML5 elements and media queries -->
22
<!-- WARNING: Respond.js doesn't work if you view the page via file:// -->
33
<!--[if lt IE 9]>
4-
<script src="https://cdnjs.cloudflare.com/ajax/libs/html5shiv/3.7.3/html5shiv.min.js" integrity="sha256-3Jy/GbSLrg0o9y5Z5n1uw0qxZECH7C6OQpVBgNFYa0g=" crossorigin="anonymous"></script>
5-
<script src="https://cdnjs.cloudflare.com/ajax/libs/respond.js/1.4.2/respond.min.js" integrity="sha256-g6iAfvZp+nDQ2TdTR/VVKJf3bGro4ub5fvWSWVRi2NE=" crossorigin="anonymous"></script>
6-
<script src="https://cdnjs.cloudflare.com/ajax/libs/es5-shim/4.5.9/es5-shim.min.js" integrity="sha256-8E4Is26QH0bD52WoQpcB+R/tcWQtpzlCojrybUd7Mxo=" crossorigin="anonymous"></script>
7-
<![endif]-->
4+
<script src="https://cdnjs.cloudflare.com/ajax/libs/html5shiv/3.7.3/html5shiv.min.js" integrity="sha256-3Jy/GbSLrg0o9y5Z5n1uw0qxZECH7C6OQpVBgNFYa0g=" crossorigin="anonymous"></script>
5+
<script src="https://cdnjs.cloudflare.com/ajax/libs/respond.js/1.4.2/respond.min.js" integrity="sha256-g6iAfvZp+nDQ2TdTR/VVKJf3bGro4ub5fvWSWVRi2NE=" crossorigin="anonymous"></script>
6+
<script src="https://cdnjs.cloudflare.com/ajax/libs/es5-shim/4.5.9/es5-shim.min.js" integrity="sha256-8E4Is26QH0bD52WoQpcB+R/tcWQtpzlCojrybUd7Mxo=" crossorigin="anonymous"></script>
7+
<![endif]-->

public/views/slide.ejs

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -37,13 +37,13 @@
3737
<link rel="stylesheet" href="<%- url %>/css/slide.css">
3838

3939
<!-- Printing and PDF exports -->
40-
<script>
41-
var link = document.createElement( 'link' );
42-
link.rel = 'stylesheet';
43-
link.type = 'text/css';
40+
<script>
41+
var link = document.createElement( 'link' );
42+
link.rel = 'stylesheet';
43+
link.type = 'text/css';
4444
link.href = '<%- url %>/build/reveal.js/' + (window.location.search.match( /print-pdf/gi ) ? 'css/print/pdf.css' : 'css/print/paper.css');
45-
document.getElementsByTagName( 'head' )[0].appendChild( link );
46-
</script>
45+
document.getElementsByTagName( 'head' )[0].appendChild( link );
46+
</script>
4747

4848
<%- include shared/polyfill %>
4949
</head>

0 commit comments

Comments
 (0)