Caption with brackets not displayed correctly
-
Hi.
I’m having problems with image captions. If the caption contains brackets, it doesn’t get displayed correctly.How to recreate it.
1) Insert an image with an empty caption.
2) Change the caption to someting bracketed (eg. [in]out)
3) Save. (The caption and the shortcode will be ok in the Visual Editor.)
4) After the save, the caption will be displayed incorrectly. Only the text before the closing bracket is displayed correctly. The rest is displayed over the images (as opposed to a caption, that is displayed on the bottom), and with double quotes before the closing bracket.I think it has something to do with WP confusing this brackets with the shortcode ones (I’m just a newbie doing stuff in WP, so I might well as be wrong).
Hope I can get some help an help WP get better and better.
- The topic ‘Caption with brackets not displayed correctly’ is closed to new replies.