When the taxonomy categories are displayed in "recent ads" block. We get the following code displayed instead of instead of an apostrophe.

#039;

So for example it should be Men's Ski Bindings but instead it displays....

Men's Ski Bindings

Comments

wrender’s picture

bump

fgm’s picture

Version: 6.x-3.0-rc1 » 6.x-3.x-dev

Extra escaping confirmed in latest dev. Also happens with the "popular" block. In both cases, this applies to both the category name and ad title.

fgm’s picture

Status: Active » Needs review
StatusFileSize
new3.86 KB

Here is a test catching this bug.

Status: Needs review » Needs work

The last submitted patch, classified_title_doubly_escaped-1287674-3.patch, failed testing.

fgm’s picture

Status: Needs work » Needs review
StatusFileSize
new4.76 KB

And here is the patch with the fix included.

fgm’s picture

Status: Needs review » Fixed

Committed to dev version.

fgm’s picture

Version: 6.x-3.x-dev » 7.x-3.x-dev
Status: Fixed » Active

Needs to be checked on 7.x.

fgm’s picture

Category: support » bug

And this was actually a bug, confirmed on 7.3 too.

fgm’s picture

Status: Active » Needs review
StatusFileSize
new6.54 KB

Ported patch and test.

fgm’s picture

Status: Needs review » Fixed

Committed to 7.x-3.x.

Status: Fixed » Closed (fixed)

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

Anonymous’s picture

Issue summary: View changes

Fix editing error.