I’m using the ‘builder’ gem. I create an XML builder, add a sequence of
tags with inner text, then escape the HTML, then save the object.
Problem: The following gsub tag is appearing in my XML that I didn’t put
there.
<gsub &="&" “=”"" <="<"
=">">(?-mix:[&"<>])
Can someone explain where this tag is coming from?
builder = Builder::XmlMarkup.new
builder.scrapetree(@topic.content)
…
…
…
@scrapetree = Scrapetree.new
@scrapetree.content = CGI::escapeHTML(builder)
@scrapetree.save