index out of range on unclosed end tag at end of string
Brought to you by:
nicolaasuni
I am using XHTMLTranscoder 1.0.007.
I have some malformed html of the form:
<p>Foo</
XHTMLTranscoding of this results in a "string index out
of range" exception in XHTMLTranscoder line 284.
My temporary fix is to place the "get tag name" 'while'
loop in to an 'if((i+1) <= code_to_clean.length()) {}'
block.