VN textbox event
This commit is contained in:
@ -134,7 +134,7 @@ void Xml::load(Xml *xml, std::string data, size_t *j) {
|
||||
|
||||
case XML_PARSE_STATE_PARSING_VALUE:
|
||||
// Keep parsing child until we find a < for an opening/closing tag.
|
||||
if(c == '<') {
|
||||
if(c == '<' && !(data[i] == '<' || data[i-2] == '<')) {
|
||||
// In HTML Spec there could be a child here but not in XML spec.
|
||||
doing = XML_PARSE_STATE_PARSING_CLOSE;
|
||||
xml->value = buffer;
|
||||
|
Reference in New Issue
Block a user