summaryrefslogtreecommitdiffstats
path: root/Doc/lib/libhtmllib.tex
diff options
context:
space:
mode:
Diffstat (limited to 'Doc/lib/libhtmllib.tex')
-rw-r--r--Doc/lib/libhtmllib.tex7
1 files changed, 4 insertions, 3 deletions
diff --git a/Doc/lib/libhtmllib.tex b/Doc/lib/libhtmllib.tex
index bf57ea9..aaa2072 100644
--- a/Doc/lib/libhtmllib.tex
+++ b/Doc/lib/libhtmllib.tex
@@ -1,4 +1,5 @@
\section{Standard Module \sectcode{htmllib}}
+\label{module-htmllib}
\stmodindex{htmllib}
\index{HTML}
\index{hypertext}
@@ -38,11 +39,11 @@ incomplete elements are saved in a buffer. To force processing of all
unprocessed data, call the \code{close()} method.
For example, to parse the entire contents of a file, use:
-\begin{verbatim}
+\bcode\begin{verbatim}
parser.feed(open('myfile.html').read())
parser.close()
-\end{verbatim}
-
+\end{verbatim}\ecode
+%
\item
The interface to define semantics for HTML tags is very simple: derive
a class and define methods called \code{start_\var{tag}()},