[wp-trac] [WordPress Trac] #12464: Text links are stripped from image captions
WordPress Trac
wp-trac at lists.automattic.com
Thu Feb 16 15:33:34 UTC 2012
#12464: Text links are stripped from image captions
------------------------------+---------------------
Reporter: dnusim | Owner: azaozz
Type: defect (bug) | Status: new
Priority: normal | Milestone: 3.4
Component: TinyMCE | Version: 2.9.2
Severity: normal | Resolution:
Keywords: needs-patch gsoc |
------------------------------+---------------------
Comment (by ericlewis):
I'm not sure if this is perfect, but I think a step in the right direction
here. This patch helps with adding links to captions in the visual editor
mode.
The issue with links in the visual editor is that captions have all HTML
entities filtered out of them. The patch filters out only non-anchor tags,
leaving anchors there.
The other issue is the caption shortcode holds the text for caption
between double quotes. To deal with this all quotes within the caption are
converted to single quotes.
--
Ticket URL: <http://core.trac.wordpress.org/ticket/12464#comment:15>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list