You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
For my use case I needed support for a hybrid parser that would allow for XML constructs to be recognized in HTML code. After looking at the source code I felt that adding more options could provide more fine-grained control over parsing without adding too much complexity to the code. Please review my Pull Request which added two new options:
recognizeSelfClosing: If set to true then self-closing tags will result in the tag being closed even if xmlMode is not set to true
recognizeCDATA: If set to true then CDATA text will result in the ontext event being fired even if xmlMode is not set to true
In theory, xmlMode could be used as a way to control the more fine-grained options, but I wanted to minimize code change.
The text was updated successfully, but these errors were encountered:
For my use case I needed support for a hybrid parser that would allow for XML constructs to be recognized in HTML code. After looking at the source code I felt that adding more options could provide more fine-grained control over parsing without adding too much complexity to the code. Please review my Pull Request which added two new options:
true
then self-closing tags will result in the tag being closed even ifxmlMode
is not set totrue
true
then CDATA text will result in theontext
event being fired even ifxmlMode
is not set totrue
In theory,
xmlMode
could be used as a way to control the more fine-grained options, but I wanted to minimize code change.The text was updated successfully, but these errors were encountered: