-
Notifications
You must be signed in to change notification settings - Fork 15
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
Invalid XML output if string contains "&". #7
Comments
I was looking into your bug, when I realized that I'm an idiot for not using Nokogiri to build the XML. Nokogiri handles special characters and other cases. I was just using Nokogiri to parse. Anyway, I'm working on a new branch with this change. It makes the code a lot more simple. It's working for all I know. I just need to test it more and update the documentation. Here's the branch: https://github.com/caseyhoward/nokogiri-plist/tree/nokogiri_xml_builder if you want to check it out. I could have made a quick fix using CGI::escape, but I think this is a lot better. |
If string contains "&", it not escape to "&". So output XML is invalid.
from "bundle list":
The text was updated successfully, but these errors were encountered: