[wp-trac] [WordPress Trac] #1371: Allowing HTML in post titles
WordPress Trac
wp-trac at lists.automattic.com
Mon Feb 22 05:12:28 UTC 2010
#1371: Allowing HTML in post titles
--------------------------------------+-------------------------------------
Reporter: MaThIbUs | Owner: MathiasBynens
Type: enhancement | Status: closed
Priority: lowest | Milestone:
Component: Template | Version: 2.9.2
Severity: minor | Resolution: wontfix
Keywords: dev-feedback 2nd-opinion |
--------------------------------------+-------------------------------------
Changes (by ricfischer):
* cc: ricfischer (added)
* version: 2.3 => 2.9.2
Comment:
I have two posts. One was about an ISP company denying their customers
access to my sites. The second, about 3 months later, was about the same
company finally allowing their customers access to my sites.
Original post's title: Qwest Denies Their Customers
New post's title: Qwest <strike>Denies</strike> Allows Their Customers
Strike is the now-deprecated way of doing a strike-through. <del></del> is
the replacement.
I've had to edit the title because, while gone from WP for well over a
year, updates to WP have forced Textile to not work and the Textile plugin
wasn't updated. Apparently, Textile must've allowed the <strike></strike>
to work.
I see no reason why a philosophy of accepting all input (within reason
depending on the field) but scrubbing the output cannot apply. Generating
RSS? Scrub the output to make sure it complies with RSS. Creating a menu
of posts from post titles? Scrub it appropriately. Since <del> and <ins>
are non-block elements, I believe they should be allowed where other XHTML
is allowed.
Another example is citing the name of a book or movie or some such and
allowing the user to recognize it is the name of a book or movie. Do we
just stick with old-school style and use single quotes or can we move
forward at all with the greater flexibility computers and the web allow?
Leaving this closed. I welcome a discussion why minor style attribute
elements cannot be applied in headlines, excluding <strong>, of course.
--
Ticket URL: <http://core.trac.wordpress.org/ticket/1371#comment:30>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list