I am the webmaster for a small daily newspaper. We have several staff members who blog, myself included.

If I use punctuation in the title of a blog, such as KB's experiment, the title shows up on the Blogs page as KB's experiment.

This is not acceptable; I need to be able to use basic punctuation -- such as a simple single straight quote mark -- in the titles of blogs.

Comments

CobraMP’s picture

+1

CobraMP’s picture

This is also causing a php error that is visible when anonymous visits the blog page

Column 'nid' in field list is ambiguous query: SELECT DISTINCT nid, created FROM node n INNER JOIN node_access na ON
na.nid = n.nid WHERE (na.grant_view >= 1 AND ((na.gid = 0 AND na.realm = 'all') OR (na.gid = 2 AND na.realm = 'term_access') OR (na.gid = 5 AND na.realm = 'term_access'))) AND ( type = 'blog' AND status <> 0 AND uid = 70 )ORDER BY created DESC in /......modules/advanced_blog/advanced_blog.module on line 333.

tsvenson’s picture

Priority: Normal » Critical

This seems to happen for special characters. I used & in the title and it got escaped as well. I took a quick peek in the code, but with my limited skills I couldn't find anything.

skywalkr2’s picture

I am just starting with Drupal and ran into this issue as well. I hope this is fixed in the next release.

The places I am seeing this is in the blog block blog navigation, and also in the subscription information displayed below the blog posting based on the subscriptions module I installed.

CobraMP’s picture

i think that php error I posted is not related

Katrina B’s picture

Any progress being made on this? It looks really unprofessional for me not to be able to use punctuation in the titles of the blogs for our staff.

svendecabooter’s picture

Priority: Critical » Normal

This was caused by double check_plain() usage.
This has now been fixed in HEAD.

svendecabooter’s picture

Status: Active » Fixed

Status: Fixed » Closed (fixed)

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