mirror of
https://github.com/thorvg/thorvg.git
synced 2025-06-08 13:43:43 +00:00
svg_loader: fix data parsing
Added an additional XML entity to be omitted while parsing. @Issue: https://github.com/thorvg/thorvg/issues/2273
This commit is contained in:
parent
9c5eafd74e
commit
1c66b5fa3d
1 changed files with 3 additions and 3 deletions
|
@ -25,9 +25,9 @@
|
|||
|
||||
#include "tvgSvgLoaderCommon.h"
|
||||
|
||||
#define NUMBER_OF_XML_ENTITIES 8
|
||||
const char* const xmlEntity[] = {""", " ", "'", "&", "<", ">", "#", "'"};
|
||||
const int xmlEntityLength[] = {6, 6, 6, 5, 4, 4, 6, 6};
|
||||
#define NUMBER_OF_XML_ENTITIES 9
|
||||
const char* const xmlEntity[] = {" ", """, " ", "'", "&", "<", ">", "#", "'"};
|
||||
const int xmlEntityLength[] = {5, 6, 6, 6, 5, 4, 4, 6, 6};
|
||||
|
||||
enum class SimpleXMLType
|
||||
{
|
||||
|
|
Loading…
Add table
Reference in a new issue