diff --git a/src/parser.c b/src/parser.c index e9d2fcba..a9b6eb5e 100644 --- a/src/parser.c +++ b/src/parser.c @@ -192,12 +192,14 @@ static const ReplacementEntry kSvgAttributeReplacements[] = { REPLACEMENT_ENTRY("baseprofile", "baseProfile"), REPLACEMENT_ENTRY("calcmode", "calcMode"), REPLACEMENT_ENTRY("clippathunits", "clipPathUnits"), - // REPLACEMENT_ENTRY("contentscripttype", "contentScriptType"), - // REPLACEMENT_ENTRY("contentstyletype", "contentStyleType"), +#ifndef GUMBO_HTML5_TIP + REPLACEMENT_ENTRY("contentscripttype", "contentScriptType"), + REPLACEMENT_ENTRY("contentstyletype", "contentStyleType"), + REPLACEMENT_ENTRY("externalresourcesrequired", "externalResourcesRequired"), + REPLACEMENT_ENTRY("filterres", "filterRes"), +#endif REPLACEMENT_ENTRY("diffuseconstant", "diffuseConstant"), REPLACEMENT_ENTRY("edgemode", "edgeMode"), - // REPLACEMENT_ENTRY("externalresourcesrequired", "externalResourcesRequired"), - // REPLACEMENT_ENTRY("filterres", "filterRes"), REPLACEMENT_ENTRY("filterunits", "filterUnits"), REPLACEMENT_ENTRY("glyphref", "glyphRef"), REPLACEMENT_ENTRY("gradienttransform", "gradientTransform"),