diff --git a/Doc/lib/libhtmlparser.tex b/Doc/lib/libhtmlparser.tex
index 39126535462..5ba8e86d34e 100644
--- a/Doc/lib/libhtmlparser.tex
+++ b/Doc/lib/libhtmlparser.tex
@@ -109,8 +109,8 @@ base class implementation does nothing.
\begin{methoddesc}{handle_comment}{data}
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{} will
+\samp{--} and \samp{--} delimiters, but not the delimiters
+themselves. For example, the comment \samp{} will
cause this method to be called with the argument \code{'text'}. It is
intended to be overridden by a derived class; the base class
implementation does nothing.
@@ -132,7 +132,7 @@ is intended to be overridden by a derived class; the base class
implementation does nothing.
\note{The \class{HTMLParser} class uses the SGML syntactic rules for
-processing instruction. An XHTML processing instruction using the
+processing instructions. An XHTML processing instruction using the
trailing \character{?} will cause the \character{?} to be included in
\var{data}.}
\end{methoddesc}