Phrasal elements are allowed *anywhere* text is valid. This can be validated with the w3c validator using <code> within an <h3>.
Also in RSS readers, HTML tags in titles/subjects are not supported.
Yes, hence the need for a plain-text version of the title used for links, rdf, and anywhere else ...
Search found 3 matches
- Wed Jul 12, 2006 2:15 am
- Forum: Bugs
- Topic: BUG: XHTML Phrase Elements in entry title mis-encoded
- Replies: 7
- Views: 3899
- Tue Jul 11, 2006 7:40 pm
- Forum: Bugs
- Topic: BUG: XHTML Phrase Elements in entry title mis-encoded
- Replies: 7
- Views: 3899
- Tue Jul 11, 2006 12:43 am
- Forum: Bugs
- Topic: BUG: XHTML Phrase Elements in entry title mis-encoded
- Replies: 7
- Views: 3899
BUG: XHTML Phrase Elements in entry title mis-encoded
In version 1.0, XHTML phrase elements such as <code>, <cite>, <abbr>, etc, are mis-encoded prior to rendering, eg
s/<code>/<code>/
The offending code:
$entry['title'] = htmlspecialchars($entry['title']);
is in include/function_entries.inc.php on approx line 927 (my working file isn't clean ...
s/<code>/<code>/
The offending code:
$entry['title'] = htmlspecialchars($entry['title']);
is in include/function_entries.inc.php on approx line 927 (my working file isn't clean ...