Download & Extend

ampersand from Title gets escaped (or double escaped?)

Project:Quick Tabs
Version:7.x-3.3
Component:Code
Category:bug report
Priority:normal
Assigned:drupal-developers-melbourne
Status:needs review
Issue tags:htmlentities, quicktabs

Issue Summary

I have a node title "SHOW & TELL".
In the quicktabs tab (I'm using class quicktabs) it displays incorrectly as "SHOW & TELL"
The title in the display of the node itself (generated by Views module) does display correctly.

Comments

#1

Correction: Quicktabs is incorrectly displaying it as & instead of as &

How can I get the & to display correctly?

#2

Title:ampersand from Title get escaped (or double escaped?)» ampersand from Title gets escaped (or double escaped?)

This seems like it would be pretty straight-forward to fix but I just don't know enough to code it myself. Does anyone have any ideas?

#3

Priority:normal» major

OK, this is also a problem with apostrophes and likely with other characters that would get escaped. How are other people dealing with this? It is so ugly! I don't know how other people can stand it.

#4

Version:7.x-3.0» 7.x-3.3
Component:Tab styles» Code
Priority:major» normal
Assigned to:Anonymous» drupal-developers-melbourne
Status:active» needs review

The issue with htmlentities is not related to the module, but rather with the way drupal handles links (via l() function) and translations (via t() function).

The patch attached resolves the issue with htmlentities for those of you who really need to display symbols instead of html code.

AttachmentSize
quicktabs.htmlentities.patch 566 bytes
nobody click here