The escaping is weird for the license header because of <> and I don't
think this is of any use.
Another character used, another level of headings.
- .. a comment which is rendered to HTML output enclosed in <!-- -->
- characters. This is still a comment.
+ .. a comment, which is simply ignored when producing HTML output.
+ This is still a comment.
This as well.
and
- Line blocks are simply :html:`<p>` elements with lines delimited using
:html:`<br>`
- The :html:`<abbr>` tag now properly includes a ``title`` attribute
+- :abbr:`reST <reStructuredText>` comments are simply ignored, instead of
+ being put into :html:`<!-- -->`
`Typography`_
=============
('colwidths-given' not in node.parent.parent['classes'])):
return
+ # Don't put comments into the HTML output
+ def visit_comment(self, node,
+ sub=re.compile('-(?=-)').sub):
+ raise nodes.SkipNode
+
# Containers don't need those stupid "docutils" class names
def visit_container(self, node):
atts = {}