1. Bitbucket
  2. Public Issue Tracker
  3. master
  4. Issues

Issues

Issue #2251 resolved

Ampersands in source listings rendered incorrectly in html5 enabled browsers

Casey Duncan
created an issue

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 &

Comments (1)

  1. Log in to comment