XHTML provider doesn't handle some tags correctly

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);
}
--------------

Environment

None

Activity

Show:
Fixed

Details

Assignee

Reporter

Components

Fix versions

Affects versions

Priority

Created October 17, 2005 at 12:56 AM
Updated July 11, 2006 at 1:15 AM
Resolved July 11, 2006 at 1:15 AM

Flag notifications