The problem occurs when a Help and Manual source contains images inside a sentence and the image has a Tooltip (HTML title attribute) defined. Three segments are created instead of one. And worse: the blanks before and after the image are removed. One could probably live with the segmentation but the missing blanks need to be fixed.
Screenshots, and OmegaT project with source and target files are attached in a zip file.
Zip with screenshots and OmegaT project
Hi, I am happy to see that there are more people using the H&M filter of OmegaT.
Didier: if needed I can take a look at the filter if the problem is caused there.
Thanks Guido.
How to solve it is not obvious
The trouble is that <title> is defined as a paragraph tag, and that it appears inside the image description.
<para styleclass="Normal"><text styleclass="Normal" translate="true">When I use an </text><image src="image.png" scale="100.00%" styleclass="Image Caption"><title translate="true">Image</title></image><text styleclass="Normal" translate="true"> image inside a paragraph that has a Tooltip (HTML title attribute) defined, OmegaT swallows the blanks before and after the image.</text></para>
Are there circumstances in which <title> is actually a paragraph tag?
Didier
The format that is attached is not HTML. It looks very much like DITA. Can somebody confirm that the provided format is supported by OmegaT?
As the title of the bug report mentions, it is in Help and Manual format (src\org\omegat\filters3\xml\helpandmanual)
Didier
Thank you for the confirmation. The OP mentioned "HTML title attribute" but clearly the document is not HTML.
It is unsupported.
Why do you close as unsupported ?