Details
-
Type:
Bug
-
Status:
Closed
-
Priority:
Major
-
Resolution: Fixed
-
Affects Version/s: 2.0.0
-
Fix Version/s: 3.0.0 Beta 1
-
Component/s: Extensions
-
Labels:None
Description
Tags such as <br/> aren't handled correctly by the XHTML parser.
John suggests the following:
--------------
I did something like this on line 70 to fix:
String text = parser.getText();
// For simple tags like <BR/> we get START_TAG and END_TAG.
// Ignore END_TAG (otherwise it doubles the output).
if (!text.endsWith("/>")) {
buffer.append(text);
}
--------------