Quantcast
Channel: Issues for Drupal core
Viewing all articles
Browse latest Browse all 292695

Titles are often double-escaped

$
0
0

In various places, titles are double-escaped, such as with check_plain(). For example, if the title is "Liam's Test", it gets escaped to Liam's Test (which is what should happen before display) then to Liam's Test.

Core example: Create a new web page with a title contained a single quote. View the source of the node. The meta element with property="dc:title" with have double-escaped @content.

There are reports of this problem in various places and I suspect they are all caused by the same core bug:
#1189550: RSS Style plugin escapes feed title twice
#1302760: ampersand from Title gets escaped (or double escaped?)
#1363358: Shortcut set titles are double-escaped with check_plain()
#1468014: Double Escapes the Title? Escape characters showing up in the node title.
#1955072: Node/feed item titles are double escaped


Viewing all articles
Browse latest Browse all 292695

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>