Skip to content

Commit

Permalink
more consistent tag helper examples
Browse files Browse the repository at this point in the history
  • Loading branch information
kraih committed Jan 21, 2015
1 parent 513ffff commit 77f75b0
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion Changes
@@ -1,5 +1,5 @@

5.73 2015-01-21
5.73 2015-01-22
- Deprecated Mojolicious::Routes::Route::bridge in favor of
Mojolicious::Routes::Route::under.
- Deprecated Mojolicious::Controller::render_exception in favor of
Expand Down
4 changes: 2 additions & 2 deletions lib/Mojolicious/Plugin/TagHelpers.pm
Expand Up @@ -632,7 +632,7 @@ Alias for L</"tag">.
%= tag 'br'
%= tag 'div'
%= tag 'div', id => 'invisible', hidden => undef
%= tag 'div', id => 'foo', hidden => undef
%= tag div => 'test & 123'
%= tag div => (id => 'foo') => 'test & 123'
%= tag div => (data => {my_id => 1, Name => 'test'}) => 'test & 123'
Expand All @@ -645,7 +645,7 @@ HTML tag generator.
<br>
<div></div>
<div id="invisible" hidden></div>
<div id="foo" hidden></div>
<div>test &amp; 123</div>
<div id="foo">test &amp; 123</div>
<div data-my-id="1" data-name="test">test &amp; 123</div>
Expand Down

0 comments on commit 77f75b0

Please sign in to comment.