Helma Logo
main list history
previous version  overview  next version

Version 3 by hannes on 12. October 2005, 23:29

==== Ideas

Some separation of concerns:

# Parsing HTML for skin rendering
# Adding of missing tags
# Adding of formatting tags
# entity encoding

Potentially of interest: <http://mercury.ccil.org/~cowan/XML/tagsoup/>.

==== Plan

# Keep <a href="http://adele.helma.org/source/viewcvs.cgi/helma/src/helma/util/HtmlEncoder.java?rev=1.30&cvsroot=hop&content-type=text/vnd.viewcvs-markup">current code</a> as starting point, as I can't find any other code with a similar feature mix (most importantly smart formatting) that looks like it's worth the switch.
# Separate character entity escaping from the formatting/tag closing.
# Update the list of recognized tags from the Tagsoup project.