Menu

#523 Help and Manual files: improper handling of image tooltips

2.5
closed-invalid
nobody
5
2025-11-25
2011-11-22
Anonymous
No

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.

Discussion

  • Nobody/Anonymous

    Zip with screenshots and OmegaT project

     
  • Guido Leenders

    Guido Leenders - 2011-11-22

    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.

     
  • Didier Briel

    Didier Briel - 2011-11-22

    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

     
  • Jean-Christophe Helary

    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?

     
    • Didier Briel

      Didier Briel - 2023-01-02

      As the title of the bug report mentions, it is in Help and Manual format (src\org\omegat\filters3\xml\helpandmanual)

      Didier

       
      • Jean-Christophe Helary

        Thank you for the confirmation. The OP mentioned "HTML title attribute" but clearly the document is not HTML.

         
  • Hiroshi Miura

    Hiroshi Miura - 2025-11-25
    • status: open --> closed-invalid
     
  • Hiroshi Miura

    Hiroshi Miura - 2025-11-25

    It is unsupported.

     
    • Jean-Christophe Helary

      Why do you close as unsupported ?

       

Log in to post a comment.

MongoDB Logo MongoDB