Skip to content
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

Edge case: "&+".htmlUnescape() produces "+", not "&+" #29

Closed
youming-lin opened this issue Aug 17, 2017 · 0 comments
Closed

Edge case: "&+".htmlUnescape() produces "+", not "&+" #29

youming-lin opened this issue Aug 17, 2017 · 0 comments
Assignees

Comments

@youming-lin
Copy link
Collaborator

Bug in https://github.com/IBM-Swift/swift-html-entities/blob/master/Sources/HTMLEntities/String%2BHTMLEntities.swift#L172-L178

entityPrefix is reset to empty string before concatenating it.

@youming-lin youming-lin self-assigned this Aug 17, 2017
youming-lin added a commit that referenced this issue Aug 17, 2017
@youming-lin youming-lin mentioned this issue Aug 17, 2017
3 tasks
youming-lin added a commit that referenced this issue Aug 18, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant