Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 365244

Summary: [docbook] Image causes paragraph insertion
Product: z_Archived Reporter: Miles Parker <milesparker>
Component: MylynAssignee: Project Inbox <mylyn-triaged>
Status: RESOLVED WONTFIX QA Contact: David Green <greensopinion>
Severity: normal    
Priority: P3    
Version: 1.5   
Target Milestone: ---   
Hardware: All   
OS: All   
Whiteboard:

Description Miles Parker CLA 2011-11-30 16:12:27 EST
When placing an image in-line in mediawiki:

[[Image:images/icons/BrowserBack.png]] Go to previous item(s) in History

We get:

			<section id="Back_Button">
				<title>Back Button</title>
				<para>
					<mediaobject>
						<imageobject>
							<imagedata fileref="images/icons/BrowserBack.png"/>
						</imageobject>
					</mediaobject> Go to previous item(s) in History
				</para>
			</section>

That is, a paragraph break is created between any two images, meaning that images cannot be placed inline with text.

The mediawiki->HTML and WikiText rendering work as expected.
Comment 1 David Green CLA 2011-12-01 16:13:29 EST
Thanks for the bug.  It looks like we should be using "inlinemediaobject":http://docbook.org/tdg/en/html/inlinemediaobject.html instead.
Comment 2 David Green CLA 2013-08-02 12:43:44 EDT
Closed as part of backlog clean-up.  Please re-open if you'd like to see this revisited, perhaps with a contribution.