Skip to content

Commit

Permalink
more consistent template examples
Browse files Browse the repository at this point in the history
  • Loading branch information
kraih committed May 25, 2015
1 parent ccfd652 commit 1b6fde6
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
4 changes: 3 additions & 1 deletion lib/Mojo/Template.pm
Expand Up @@ -363,7 +363,9 @@ L<Mojo::ByteStream> objects are always excluded from automatic escaping.
Whitespace characters around tags can be trimmed by adding an additional equal
sign to the end of a tag.
<%= All whitespace characters around this expression will be trimmed =%>
<% for (1 .. 3) { %>
<%= 'Trim all whitespace characters around this expression' =%>
<% } %>
Newline characters can be escaped with a backslash.
Expand Down
2 changes: 1 addition & 1 deletion lib/Mojolicious/Guides/Rendering.pod
Expand Up @@ -129,7 +129,7 @@ Whitespace characters around tags can be trimmed by adding an additional equal
sign to the end of a tag.

<% for (1 .. 3) { %>
<%= 'trim all whitespace characters around this expression' =%>
<%= 'Trim all whitespace characters around this expression' =%>
<% } %>

Newline characters can be escaped with a backslash.
Expand Down

0 comments on commit 1b6fde6

Please sign in to comment.