Uploaded image for project: 'OpenOLAT'
  1. OpenOLAT
  2. OO-3739

Improve formatting in plain text mails, retain links

    XMLWordPrintable

    Details

    • Type: Improvement
    • Status: Closed (View Workflow)
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 13.0
    • Component/s: Mail, Mailbox
    • Labels:
      None

      Description

      In HTML mails links are rendered using a link text, the link itself is embedded in the link element and not visible to the user in many cases. Our mail fallback for non-html mails is to remove all the HTML tags and replace some of the formatting like line breaks. However, our filter is a bit too aggressive as it also removes the link attribute and thus the most important information is removed from the mail. 

      The goal is to fix this and to generally improve the plain-text formatting: 

      • Add line breaks before and after header tags
      • Add line breaks before and after list blocks
      • Add a-element href attribute when it is an absolute link

        Attachments

          Activity

            People

            • Assignee:
              gnaegi Florian Gnägi
              Reporter:
              gnaegi Florian Gnägi
              Tester:
              Urs Hensler
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Time Tracking

                Estimated:
                Original Estimate - Not Specified
                Not Specified
                Remaining:
                Remaining Estimate - 0 minutes
                0m
                Logged:
                Time Spent - 10 minutes
                10m