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

Fix for regexes containing angle brackets #1

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

jtojnar
Copy link

@jtojnar jtojnar commented Aug 22, 2022

Previously, they were interpolated as is, making the produced XML document non-well-formed.
Let’s use REXML classes which will do the escaping for us.

Previously, they were interpolated as is, making the produced XML document non-well-formed.
Let’s use REXML classes which will do the escaping for us.
Introduced in Ruby 2.3, it will remove the unnecessary spacing
when not indenting the produced XML.
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

Successfully merging this pull request may close these issues.

None yet

1 participant