How can I generate a self-closing tag (
http://dev.w3.org/html5/html-author/#start-tag) or void element using the 
TAG helper?

For example, in the header I want to generate:

<link rel="next" href="http://example.com/article?pg=2";>


or

<link rel="next" href="http://example.com/article?pg=2"/>


However using TAG.link(_rel='next', 
_href='http://example.com/article?pg=2') generates:

<link rel="next" href="http://example.com/article?pg=2";></link>




-- 
Resources:
- http://web2py.com
- http://web2py.com/book (Documentation)
- http://github.com/web2py/web2py (Source code)
- https://code.google.com/p/web2py/issues/list (Report Issues)
--- 
You received this message because you are subscribed to the Google Groups 
"web2py-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to web2py+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to