Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 0f871dc

Browse files
committed
Added some "See also" references to htmllib docs.
Documented htmlentitydefs.
1 parent 2cd31dc commit 0f871dc

1 file changed

Lines changed: 32 additions & 0 deletions

File tree

Doc/lib/libhtmllib.tex

Lines changed: 32 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -68,6 +68,16 @@ \section{\module{htmllib} ---
6868
handlers for all HTML 2.0 and many HTML 3.0 and 3.2 elements.
6969
\end{classdesc}
7070

71+
72+
\begin{seealso}
73+
\seemodule{htmlentitydefs}{Definition of replacement text for HTML
74+
2.0 entities.}
75+
\seemodule{sgmllib}{Base class for \class{HTMLParser}.}
76+
\end{seealso}
77+
78+
79+
\subsection{HTMLParser Objects \label{html-parser-objects}}
80+
7181
In addition to tag methods, the \class{HTMLParser} class provides some
7282
additional methods and instance variables for use within tag methods.
7383

@@ -119,3 +129,25 @@ \section{\module{htmllib} ---
119129
method without a preceeding call to \method{save_bgn()} will raise a
120130
\exception{TypeError} exception.
121131
\end{methoddesc}
132+
133+
134+
135+
\section{\module{htmlentitydefs} ---
136+
Definitions of HTML general entities}
137+
138+
\declaremodule{standard}{htmlentitydefs}
139+
\modulesynopsis{Definitions of HTML general entities.}
140+
\sectionauthor{Fred L. Drake, Jr.}{[email protected]}
141+
142+
This module defines a single dictionary, \code{entitydefs}, which is
143+
used by the \refmodule{htmllib} module to provide the
144+
\member{entitydefs} member of the \class{HTMLParser} class. The
145+
definition provided here contains all the entities defined by HTML 2.0
146+
that can be handled using simple textual substitution in the Latin-1
147+
character set (ISO-8859-1).
148+
149+
150+
\begin{datadesc}{entitydefs}
151+
A dictionary mapping HTML 2.0 entity definitions to their
152+
replacement text in ISO Latin-1.
153+
\end{datadesc}

0 commit comments

Comments
 (0)