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

[修正] XMLを読み込む際にエンコードされた文字がデコードされない #82

Merged
merged 1 commit into from
Dec 6, 2023

Conversation

xpadev-net
Copy link
Owner

あと不具合としてxmlでエスケープされている文字(>や&など)が変換されずにそのままコメントとして出力されてしまうというものを発見しましたので報告しておきます
https://egg.5ch.net/test/read.cgi/software/1675220449/652

innerHTMLだと&lt;などがそのまま&lt;として解釈されてしまうため、textContentを用いて<になるようにする

@xpadev-net xpadev-net added the bug Something isn't working label Dec 6, 2023
@xpadev-net xpadev-net self-assigned this Dec 6, 2023
@xpadev-net xpadev-net merged commit ce76779 into develop Dec 6, 2023
3 checks passed
@xpadev-net xpadev-net deleted the fix/xml-parser branch December 6, 2023 17:17
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant