-
-
Notifications
You must be signed in to change notification settings - Fork 36
New issue
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
Encoding issue when & html entity is followed by a ";" not preceded by a "&". #109
Labels
bug
Something isn't working
Comments
Laurianti
changed the title
Strange behaviour caused by double semicolon with html entity
Encoding issue when the html entity is followed by a ";" not preceded by a "&".
Oct 9, 2021
Laurianti
changed the title
Encoding issue when the html entity is followed by a ";" not preceded by a "&".
Encoding issue when & html entity is followed by a ";" not preceded by a "&".
Oct 9, 2021
@oozcitak : Hi Ozgur, This issues is pretty blocking for us. Do you know if and when we could expect a fix? Kind regards, Henk |
coffeemakr
added a commit
to coffeemakr/xmlbuilder2
that referenced
this issue
Mar 28, 2022
The current regex for replacing ampersands has a flawed check to see if the ampersand is used HTML-encoded character. The regex isn't working because it ignores whitespace between the `&` and the `;` character. Also I don't think it's the responsibility of the writer to interpret if a value has been encoded already. This should fix oozcitak#110 and oozcitak#109
Is there any update on merging this change anytime soon? I'm also experiencing this issue and I see this has been open since last year. |
This was referenced Apr 24, 2023
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Hello, I think this is a strange behaviour:
Code:
Output:
This happen when & html entity is followed by a ";" not preceded by a "&".
Should be fixed?
The text was updated successfully, but these errors were encountered: