Commit bc2a24a7 authored by Gaston Dombiak's avatar Gaston Dombiak Committed by gato

Recognize comments: <!-- -->. JM-984

git-svn-id: http://svn.igniterealtime.org/svn/repos/wildfire/trunk@7205 b35dd754-fafc-0310-a699-88a17e54d16e
parent 636a5693
...@@ -189,6 +189,10 @@ class XMLLightweightParser { ...@@ -189,6 +189,10 @@ class XMLLightweightParser {
status = XMLLightweightParser.TAIL; status = XMLLightweightParser.TAIL;
depth--; depth--;
} }
else if (ch == '!') {
// This is a <! (comment) so ignore it
status = XMLLightweightParser.INSIDE;
}
else { else {
depth++; depth++;
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment