Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Errata TheViews > HTML Helpers #228

Closed
ghost opened this issue Aug 10, 2014 · 1 comment
Closed

Errata TheViews > HTML Helpers #228

ghost opened this issue Aug 10, 2014 · 1 comment

Comments

@ghost
Copy link

ghost commented Aug 10, 2014

The 4th code block under HTML helpers reads like this:

{{=DIV(B(I("hello ", "<world>"))), _class="myclass")}}

The 3rd parenthesis after <world> is redundant and creates an error, the DIV parenthesis got already closed after _class="myclass"

@BuhtigithuB
Copy link
Collaborator

Can be closed :
http://www.web2py.com/books/default/chapter/29/05/the-views?search=helper#HTML-helpers
Seems fine :

{{=DIV(B(I("hello ", "")), _class="myclass")}}

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants