Homec4science

Correctly handle entity and character references when washing HTML.

Authored by Jerome Caffaro <jerome.caffaro@cern.ch> on Oct 14 2008, 14:48.

Description

Correctly handle entity and character references when washing HTML.

Entity ("&name;") and character ("&#ref;") references were simply lost when washing HTML, as HTMLWasher class simply did not subclass handle_charref(..) and
handle_entityref(..)
functions.
Also corrected class docstring.

Details

Committed
Jerome Caffaro <jerome.caffaro@cern.ch>Oct 14 2008, 14:48
Parents
R3600:3196a1e3aecd: Merge commit 'lars/bibrecord-dev'
Branches
Unknown
Tags
Unknown

Event Timeline

Jerome Caffaro <jerome.caffaro@cern.ch> committed R3600:3f53a98b01c4: Correctly handle entity and character references when washing HTML. (authored by Jerome Caffaro <jerome.caffaro@cern.ch>).Oct 14 2008, 14:48