Apostrophe entity (')

Created on 4 August 2010, over 14 years ago
Updated 8 March 2023, almost 2 years ago

I'm not really sure this is really an issue but in Export module, when you export to XML it preprocesses the fields content and it prevent the code to double encode the XML entities & " ' < >
Now, I noticed that sometimes the apostrophe symbol is encoded to ' without the 0 before 39 and your function fails in recognizing it.
The change to the code in views_bonus_export.theme.inc file would be just one character:
the regex that does the match is: /&(?!(amp|quot|#039|lt|gt);)/
and would change to: /&(?!(amp|quot|#0?39|lt|gt);)/
This recognizes the apostrophe in any circumstance, be it encoded with 0 or not.

Just wanted to let you know. :)

🐛 Bug report
Status

Closed: outdated

Version

1.1

Component

Views Export

Created by

🇮🇹Italy Stefano

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

Production build 0.71.5 2024