1. Bitbucket
  2. Public Issue Tracker
  3. master
  4. 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:


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:


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