Comments
-
Greg Hurrell
See this document, "HTML5 differences from HTML4" for more info.
<tt></tt>
is listed under "The following elements are not in HTML5 because their effect is purely presentational and their function is better handled by CSS".So perhaps in the 2.0 release of Wikitext (which is explicitly targeted at Rails 3), we can emit something vaguely like:
<p>Hello <span class="tt">foo</span>.</p>
Instead of:
<p>Hello <tt>foo</tt>.</p>
For input:
Hello `foo`.
-
Greg Hurrell
Note that we will continue to support indefinitely the use of
<tt></tt>
in the input markup itself in order to handle the large body of Wikitext markup already "out there" which may use it.ie.
Hello <tt>foo</tt> and `bar`!
Would be translated to something like:
<p>Hello <span class="tt">foo</span> and <span class="tt>bar</span>!</p>
Would obviously need to provide some way of customizing the CSS class name as well.
-
Greg Hurrell
Ok, this is taken care of now.
-
Greg Hurrell
Status changed:
- From: new
- To: closed
Add a comment
Comments are now closed for this issue.