Infrastructure
  1. Infrastructure
  2. INFRA-4121

CMS does not handle some announcements correctly

    Details

      Description

      As reported on the infrastructure mailing list (Message-ID: <4EBD9029.7080206@apache.org>), some announcements are not being displayed correctly.

      There are two problems:
      - incorrect display of certain special characters such as TM in subjects and long dash in body text
      - body text not wrapping for some announcements

      See attachments
      1. GarbledFx.jpg
        102 kB
        Sebb
      2. GarbledChrome.jpg
        84 kB
        Sebb

        Activity

        Hide
        Sebb added a comment -
        Display in Firefox. Note truncated lines as well as garbled subject and body text
        Show
        Sebb added a comment - Display in Firefox. Note truncated lines as well as garbled subject and body text
        Hide
        Sebb added a comment -
        Same page in Chrome; same issues
        Show
        Sebb added a comment - Same page in Chrome; same issues
        Hide
        Sebb added a comment -
        The body text wrapping problem is due to using <pre> blocks for mail messages that happen to be in text/plain format.

        Most plain text messages will be wrapped at less than 80 chars, but that is not guaranteed:

        http://mail-archives.apache.org/mod_mbox/www-announce/201111.mbox/%3C1320844806.6116.YahooMailNeo@web29720.mail.ird.yahoo.com%3E

        wraps at over 100 chars.

        Perhaps it would be better to use a fixed width font (rather than <pre>) and allow the contents to reflow.
        Show
        Sebb added a comment - The body text wrapping problem is due to using <pre> blocks for mail messages that happen to be in text/plain format. Most plain text messages will be wrapped at less than 80 chars, but that is not guaranteed: http://mail-archives.apache.org/mod_mbox/www-announce/201111.mbox/%3C1320844806.6116.YahooMailNeo@web29720.mail.ird.yahoo.com%3E wraps at over 100 chars. Perhaps it would be better to use a fixed width font (rather than <pre>) and allow the contents to reflow.
        Show
        Sebb added a comment - See also https://issues.apache.org/bugzilla/show_bug.cgi?id=52182
        Hide
        Joe Schaefer added a comment -
        Resolved with the introduction of Sam's regexps.
        Show
        Joe Schaefer added a comment - Resolved with the introduction of Sam's regexps.

          People

          • Assignee:
            Unassigned
            Reporter:
            Sebb
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development