issue in unary nodes parsing
Status: Beta
Brought to you by:
psychogenic
Hi,
I experienced problems in parsing unary nodes without
attributes or a space before the closing bracket.
<node/> is NOT OK: parsed as "nod"
<node attr="xx"/> is OK: parsed as "node"
<node /> is OK: parsed as "node"
This patch fixes the Document.pm "fromSubStringBT"
function regexp to parse unary nodes (without other
embedded nodes).
Best regards,
Frank
Logged In: YES
user_id=744788
Forgot that the form requires HTML, here is the patch
description update:
<node/> is NOT OK: parsed as "nod"
<node attr="xx"/> is OK: parsed as "node"
<node /> is OK: parsed as "node"