Skip to content

Commit

Permalink
Avoid extra whitespace at the end
Browse files Browse the repository at this point in the history
  • Loading branch information
Nicolas Mendoza committed Jul 27, 2023
1 parent 81a1060 commit 8ea3db2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/index.tt
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@
[% PROCESS $snippet.path | replace('#!.*', '') %]
<div>
<div class="slide"><h2>[% title %]</h2>
[% PROCESS code | replace('#!.*', '') | prettify %]
[% PROCESS code | replace('\s*#!.*', '') | prettify %]
</div>
</div>
[% END %]
Expand Down

0 comments on commit 8ea3db2

Please sign in to comment.