You've already forked godot
mirror of
https://github.com/godotengine/godot.git
synced 2025-11-15 13:51:40 +00:00
Fix parsing of XML CDATA and add test cases
(cherry picked from commit 7ed2b09bc0)
This commit is contained in:
committed by
Rémi Verschelde
parent
47bc0f649d
commit
7dfcd9d80d
@@ -137,7 +137,7 @@ bool XMLParser::_parse_cdata() {
|
||||
++P;
|
||||
}
|
||||
|
||||
if (cDataEnd) {
|
||||
if (!cDataEnd) {
|
||||
cDataEnd = P;
|
||||
}
|
||||
node_name = String::utf8(cDataBegin, (int)(cDataEnd - cDataBegin));
|
||||
|
||||
Reference in New Issue
Block a user