Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
I am using megarow links for the row title. The problem is that when I pass something like:
[node:title]|node/[node:nid]
I get the label printing fine except for titles with ' or & or other html entities.
Would there be an issue if we made it so we could alter the rendering a bit? Or would it have any security issues / unforeseen issues if we if we ran the $label through decode_entities($label).
I am attaching a patch. Please let me know if there is a problem with this implementation.
Comment | File | Size | Author |
---|---|---|---|
#1 | label_html_entities_decode-2389059-1.patch | 737 bytes | dobe |
Comments
Comment #1
dobe CreditAttribution: dobe commentedComment #2
ArtusamakIndeed, good catch! It's committed, thanks for the report & patch. http://cgit.drupalcode.org/views_megarow/commit/?id=3d739b6c4a2c97b7e1a7...