mirror of
https://github.com/michaelrsweet/mxml.git
synced 2024-11-24 11:25:30 +00:00
Fix handling of elements that start with a Unicode character (Issue #267)
This commit is contained in:
parent
f1b2682ce1
commit
dd55272944
@ -3,6 +3,7 @@
|
||||
- Added support for shared libraries on Haiku (Issue #262)
|
||||
- Fixed handling of unquoted attribute values that start with a Unicode
|
||||
character (Issue #264)
|
||||
- Fixed handling of elements that start with a Unicode character (Issue #267)
|
||||
- Fixed some minor issues identified by the LGTM security scanner.
|
||||
|
||||
|
||||
|
@ -2188,8 +2188,9 @@ mxml_parse_element(
|
||||
* Read the attribute name...
|
||||
*/
|
||||
|
||||
name[0] = ch;
|
||||
ptr = name + 1;
|
||||
ptr = name;
|
||||
if (mxml_add_char(ch, &ptr, &name, &namesize))
|
||||
goto error;
|
||||
|
||||
if (ch == '\"' || ch == '\'')
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user