Uploaded image for project: 'Tika'
  1. Tika
  2. TIKA-1255

WordExtractor - bold hyperlink not closed properly

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 1.2, 1.3, 1.4, 1.5
    • Fix Version/s: 2.0, 1.14
    • Component/s: parser
    • Labels:
      None
    • Environment:

      Any

      Description

      If a Word document contains a bold hyperlink, the resulting xhtml is:

      <a href="http://www.testdomain.com/support/workcentre-7232-7242/file-download/enus.html?operatingSystem=macosx108&amp;fileLanguage=en&amp;contentId=126220&amp;from=downloads&amp;viewArchived=false"><b>Test link</a></b>

      The closing bold and anchor tags are transposed, which isn't valid XHTML.

        Attachments

        1. example.doc
          56 kB
          Alan Hunter
        2. testWORD_bold_hyperlink.doc
          26 kB
          Alan Hunter
        3. testWORD_italic_hyperlink.doc
          26 kB
          Alan Hunter
        4. testWORD_strikethrough_hyperlink.doc
          26 kB
          Alan Hunter
        5. WordExtractor.java
          26 kB
          Alan Hunter
        6. WordParserTest.java
          17 kB
          Alan Hunter

          Activity

            People

            • Assignee:
              tallison@apache.org Tim Allison
              Reporter:
              alanhunter Alan Hunter
            • Votes:
              1 Vote for this issue
              Watchers:
              10 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: