Closed muonw closed 2 years ago
Describe the bug When HTML parsing is allowed (that is when the property parseAs in ptInstructs is set to unsafe-html), the invalid tags such as <? are not escaped and can prevent proper rendering.
parseAs
ptInstructs
unsafe-html
<?
To Reproduce Steps to reproduce the behavior:
Expected behavior The content of the edited field, including <?, should be displayed
The logic of escaping mechanism depends of user's specific requirements and may be incorporated via ptOptions.userFunctions.customParse.
ptOptions.userFunctions.customParse
Describe the bug When HTML parsing is allowed (that is when the property
parseAs
inptInstructs
is set tounsafe-html
), the invalid tags such as<?
are not escaped and can prevent proper rendering.To Reproduce Steps to reproduce the behavior:
<?
to the beginning of a fieldExpected behavior The content of the edited field, including
<?
, should be displayed