I am having an issue when using characters such as "&" in the tab title. When the actual tab set is being displayed, the title is rendering the code as the HTML entity "&". This issue only occurred after upgrading to the latest dev version.
| Comment | File | Size | Author |
|---|---|---|---|
| #1 | views_tabs_html_decode_titles.patch | 344 bytes | jdschroeder |
Comments
Comment #1
jdschroeder commentedAnd here's a patch for flexman's fix. Simply wrapping $title in html_entity_decode. This has fixed the problem in our instance, but this ought to be reviewed.
Comment #2
jdwfly commentedThis only happens when using fields. It seems that it is being double escaped. First by views and then by the link function. This may be a good solution, but I am still checking to see if there is another way to do it.
Comment #3
jdwfly commentedThis can be overridden via a theme function. Put the following function into template.php and rename function name accordingly.
I don't think I'll commit this yet as I am not sure about the actual problem. It doesn't look like it is being double escaped.
Comment #4
darkdimbookmark
Comment #5
nedjoApplied a fix.
Comment #6
jdwfly commentedI don't see a commit nedjo? Did this get applied somewhere else like the Tabs module?
Comment #7
jdwfly commentedMoving back to fixed.