I have several nodes whose titles contain single quotes (How'd You Do That?, etc.). While apparently indexed correctly, they appear in the "Similar Entries" block as "How& #039;d You Do That?". Messy. I'm sure it's an easy fix.

Note - I added the space between the & and the # in my example to make the expanded form show up in this posting; the actual entry displays with no such space.

Comments

deekayen’s picture

I think this issue is related to http://us3.php.net/manual/en/function.html-entity-decode.php

The conversion to the example you gave is also part of making sure other HTML isn't parsed to mess up the formatting for the block title. I guess one possible workaround might be to make an array of known acceptable characters for str_replace() to make an exception for? For starters, " and ' ... anything else?

Any other discussion?

deekayen’s picture

Status: Active » Fixed

I just committed a patch to the 4.7 tree in version 1.2.2.9

Anonymous’s picture

Status: Fixed » Closed (fixed)