bugunrtf - Bugs: bug #46681, text inside of hyperlinks is lost


bug #46681: text inside of hyperlinks is lost

Submitter:  Christoph Grenz <cg909>
Submitted:  Mon 14 Dec 2015 03:21:33 AM UTC
Category:  None Severity:  3 - Normal
Priority:  5 - Normal Item Group:  None
Status:  None Privacy:  Public
Assigned to:  None Open/Closed:  Open
Release:  None
* Mandatory Fields

Add a New Comment Rich Markup

Mon 20 May 2024 09:32:46 PM UTC, comment #1: 

Also interested in this being pulled into upstream.

Mon 14 Dec 2015 03:21:33 AM UTC, original submission:  

Converting RTF with hyperlinks to e.g. HTML only preserves the link URL, but not the text inside the hyperlink.

For example, the link in the attached RTF converts to <a href="http://gnu.org">hyperlink</a>.

The expected output would be
<a href="http://gnu.org">This text is lost</a>.

I also attached a small patch as a proof of concept, that at least for my files produces correct HTML output.

Christoph Grenz <cg909>


(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attach Files:

Attached Files
file #35736:  rtf-hyperlink.rtf added by cg909 (98B - application/rtf)


Depends on the following items: None found

Items that depend on this one: None found


Carbon-Copy List
  • -email is unavailable- added by cg909 (Submitted the item)

    There are 0 votes so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.

    Only logged-in users can vote.


    Follow 2 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2015-12-14 cg909 Attached File- Added rtf-hyperlink.rtf, #35736
        Attached File- Added unrtf-hyperlinks-fldrslt.patch, #35737

    Back to the top

    Powered by Savane 3.13-9c15.
    Corresponding source code