We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
As in parseutil described: // content outside of CDATA tags is passed via DecodeEntities
Only content within CDATA is returned
Add some text before or after CDATA Tags
As for now, i changed line 45 to
if strings.Contains(result, CDATA_START) { prestring, _ := DecodeEntities(result[:strings.Index(result, CDATA_START)]) cdatastring := StripCDATA(result) poststring, _ := DecodeEntities(result[strings.Index(result, CDATA_END)+len(CDATA_START):]) return prestring + cdatastring + poststring, nil }
Because i did not quickly get the logic of StripCDATA.
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Expected behavior
As in parseutil described:
// content outside of CDATA tags is passed via DecodeEntities
Actual behavior
Only content within CDATA is returned
Steps to reproduce the behavior
Add some text before or after CDATA Tags
QuickFix
As for now, i changed line 45 to
Because i did not quickly get the logic of StripCDATA.
The text was updated successfully, but these errors were encountered: