Skip to content

Commit

Permalink
remove blank nodes when parsing dfxp subtitles
Browse files Browse the repository at this point in the history
  • Loading branch information
bgaudaen committed Dec 13, 2021
1 parent 55214ab commit c140415
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion vod/subtitle/dfxp_format.c
Original file line number Diff line number Diff line change
Expand Up @@ -430,7 +430,7 @@ dfxp_parse(
return VOD_ALLOC_FAILED;
}

xmlCtxtUseOptions(ctxt, XML_PARSE_RECOVER | XML_PARSE_NOWARNING | XML_PARSE_NONET);
xmlCtxtUseOptions(ctxt, XML_PARSE_RECOVER | XML_PARSE_NOWARNING | XML_PARSE_NONET | XML_PARSE_NOBLANKS);

ctxt->sax->setDocumentLocator = NULL;
ctxt->sax->error = dfxp_xml_sax_error;
Expand Down

0 comments on commit c140415

Please sign in to comment.