﻿id	summary	reporter	owner	description	type	status	priority	milestone	component	version	severity	resolution	keywords	cc
21541	Image caption in the visual editor not integrating proper html code	Gouri		"The image caption that I add in the visual editor is not getting integrated properly in the html editor.

When I make corrections in the html editor and update it, it works fine.

But again when I go to the visual editor and save the post, all the corrections I made in html editor goes for a toss.

For example, [[BR]]
'''This is how the code is supposed to be:'''
{{{
[caption id=""attachment_1263"" align=""aligncenter"" width=""600"" caption=""photo credit: www.flickr.com/photos/tonystanley/399738240/""]<img class=""wp-image-1263    "" title=""munnar"" src=""http://www.traveldest.org/wp-content/uploads/munnar.jpg"" alt=""munnar"" width=""600"" height=""398"" />[/caption]
}}}

'''But this is what is inserted by visual editor:'''
{{{
[caption id=""attachment_1263"" align=""aligncenter"" width=""600""]<img class=""wp-image-1263    "" title=""munnar"" src=""http://www.traveldest.org/wp-content/uploads/munnar.jpg"" alt=""munnar"" width=""600"" height=""398"" /> photo credit: www.flickr.com/photos/tonystanley/399738240/[/caption]
}}}"	defect (bug)	closed	normal		Editor		normal	invalid	needs-patch	
