Ticket #6011 (closed bug: fixed)
Numeric character references, eg,   are inserted as plain text when text does not contain tags
|Reported by:||doug||Owned by:||john|
Inserting, for example, .html(" ") actually inserts "&#160;" due to calling context.createTextNode( elem ) in the 'clean' method. The inappropriate call is due to rhtml.test( elem ) returning false.
Check for num. char. ref., which have '#' in the rhtml reg exp.
rhtml = /<|&#?\w+;/,
- Owner set to john
- Priority changed from critical to major
- Status changed from new to assigned