]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
apply hackish work-arounds to make sure double hyphens aren't screwed
authorFred Drake <fdrake@acm.org>
Thu, 18 Dec 2003 06:11:37 +0000 (06:11 +0000)
committerFred Drake <fdrake@acm.org>
Thu, 18 Dec 2003 06:11:37 +0000 (06:11 +0000)
up in the generated HTML
(this won't be needed on the trunk)

Doc/lib/libxmllib.tex

index f7197cade04b60d1f4eb013e159cf17ee0b3c4e5..dbc4b66c607c4ede3597de0744c112f7e20364c0 100644 (file)
@@ -166,8 +166,8 @@ references outside of the \ASCII{} range.
 \begin{methoddesc}{handle_comment}{comment}
 This method is called when a comment is encountered.  The
 \var{comment} argument is a string containing the text between the
-\samp{<!--} and \samp{-->} delimiters, but not the delimiters
-themselves.  For example, the comment \samp{<!--text-->} will
+\samp{<!-\code{-}} and \samp{-\code{-}>} delimiters, but not the delimiters
+themselves.  For example, the comment \samp{<!-\code{-}text-\code{-}>} will
 cause this method to be called with the argument \code{'text'}.  The
 default method does nothing.
 \end{methoddesc}