Open prakashsinghgaur opened 8 years ago
I have a field in which users will enter full html text and a pdf should be generated.
But when I enter a blank space using some text editor which is the following error comes:-
Xml parsing error "Entity 'nbsp' not defined So, how this character can be defined in xmlParser.
I guess there might be more html entities like this one which are not identified by the xmlParser.
Thanks
specifying doctype in the pdf twig template resolved the issue:-
<!DOCTYPE pdf SYSTEM "%resources%/dtd/doctype.dtd">
I have a field in which users will enter full html text and a pdf should be generated.
But when I enter a blank space using some text editor which is the following error comes:-
Xml parsing error "Entity 'nbsp' not defined So, how this character can be defined in xmlParser.
I guess there might be more html entities like this one which are not identified by the xmlParser.
Thanks