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.

CommentFileSizeAuthor
#1 label_html_entities_decode-2389059-1.patch737 bytesdobe
Support from Acquia helps fund testing for Drupal Acquia logo

Comments

dobe’s picture

Artusamak’s picture

Status: Active » Fixed

Indeed, good catch! It's committed, thanks for the report & patch. http://cgit.drupalcode.org/views_megarow/commit/?id=3d739b6c4a2c97b7e1a7...

  • Artusamak committed 3d739b6 on 7.x-1.x authored by dobe
    Issue #2389059 by dobe: Label html entities
    

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.