diff options
| author | erdgeist <erdgeist@erdgeist.org> | 2026-08-09 23:31:35 +0200 |
|---|---|---|
| committer | erdgeist <erdgeist@erdgeist.org> | 2026-08-09 23:31:35 +0200 |
| commit | 5690cf4d4e05eafdfd2e270bbdf1a925114d0f76 (patch) | |
| tree | 1315dd1b91433f5287208a4f1b321dd722592966 /config/application.rb | |
| parent | 4d8c7290adf8dd41677ccc44a5c5ffe5d1bed2f6 (diff) | |
Escape feed content with Builder rather than by hand
Builder escapes by default; the three feed templates no longer call
CGI.escapeHTML. This fixes two sites that never escaped at all: the tag
feed's externally supplied :tag segment, interpolated into its title, self
link and id, and dc:creator in the RDF template.
Subscribers see one difference: quotes and apostrophes arrive raw, which is
valid in element text.
config/initializers/xmlparser.rb, which redefined Builder::XmlBase#_escape
as the identity function, is gone. XML::Node#replace_with went with it, no
callers.
Diffstat (limited to 'config/application.rb')
0 files changed, 0 insertions, 0 deletions
