[wp-trac] Re: [WordPress Trac] #7943: Image captions truncated if
single quotes are added in the html editor
WordPress Trac
wp-trac at lists.automattic.com
Wed Oct 22 11:52:48 GMT 2008
#7943: Image captions truncated if single quotes are added in the html editor
--------------------------+-------------------------------------------------
Reporter: designsimply | Owner: anonymous
Type: defect | Status: new
Priority: normal | Milestone: 2.8
Component: General | Version:
Severity: normal | Resolution:
Keywords: |
--------------------------+-------------------------------------------------
Comment (by Hirvine):
The bug also makes it impossible to have elements having attributes alike
a link inside the image caption. Which, I think, increments the piority.
Eg. '<a href=""></a>' breaks at the first quoute as designsimply says.
Cause
The caption is written using the 'new' shortcodes. The format caption=""
format seems to support escaped quotes (\") but I'm not certain about
that.
Using the HTML editor I escaped the quotes manually which makes the link
or quoute correctly ''until'' the post is saved/published.
Hopeful this bit of information can help you out.
It is a code problem, so testing more web browsers is irrelevant.
--
Ticket URL: <http://trac.wordpress.org/ticket/7943#comment:1>
WordPress Trac <http://trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list