Uploaded image for project: 'Bitbucket Cloud'
  1. Bitbucket Cloud
  2. BCLOUD-2251

Ampersands in source listings rendered incorrectly in html5 enabled browsers

    XMLWordPrintable

Details

    Description

      If you visit this URL in google chrome:
      If you visit this link in google chrome:

      http://bitbucket.org/caseman/planar/changeset/f0eae5328edd#chg-lib/planar/cpolygon.c_newline123

      You will notice cent signs inserted inline where they should not be. I reported this as a google chrome bug, but apparently it is behaving correctly according to their interpretation of the html5 spec wrt entities. See the bug report and their response here:

      http://code.google.com/p/chromium/issues/detail?id=60677

      Since it is currently rendered incorrectly in chrome and will probably render incorrectly in other html5 compliant browsers, I think you will need to escape ampersands in source listings as &

      Attachments

        Activity

          People

            Unassigned Unassigned
            legacy-bitbucket-user Legacy Bitbucket Cloud User (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: