DOMBuilder
DOMBuilder copied to clipboard
Need a better approach to using entities in Strings
An NBSP
variable has plagued DOMBuilder since it was first used to generate tables many moons ago. There are a couple of special cases in the code involving the unicode String representation of a non-breaking space.
As DOMBuilder doesn't do any HTML parsing with innerHTML
, how can we make it easier to work with entities in Strings?