Home | Trees | Indices | Help |
|
---|
|
module for parsing html files for translation
|
|||
htmlunit A unit of translatable/localisable HTML content |
|||
htmlfile | |||
POHTMLParser |
|
|||
|
|||
|
|||
|
|
|||
strip_html_re = re.compile(r'
|
|||
normalize_re = re.compile(r'\s\s
|
Imports: re, name2codepoint, HTMLParser, base, ParseError
|
Strip unnecessary html from the text. HTML tags are deemed unnecessary if it fully encloses the translatable text, eg. '<a href="index.html">Home Page</a>'. HTML tags that occurs within the normal flow of text will not be removed, eg. 'This is a link to the <a href="index.html">Home Page</a>.' |
|
strip_html_re
|
Home | Trees | Indices | Help |
|
---|
Generated by Epydoc 3.0.1 on Wed Jan 19 17:46:53 2011 | http://epydoc.sourceforge.net |