diff options
author | Tom Moertel <[email protected]> | 2010-07-09 19:17:09 -0400 |
---|---|---|
committer | Tom Moertel <[email protected]> | 2010-07-28 14:55:14 -0400 |
commit | acc2dce9095b4218e1ffaf6da25fbd581f8b1d38 (patch) | |
tree | e8f9bb8e3a14eea941781d89d07cee83da96fcdd /lib/ic/c_src | |
parent | 1d484d1c96dd5111c45e656d20b58f1ae5c24f59 (diff) | |
download | otp-acc2dce9095b4218e1ffaf6da25fbd581f8b1d38.tar.gz otp-acc2dce9095b4218e1ffaf6da25fbd581f8b1d38.tar.bz2 otp-acc2dce9095b4218e1ffaf6da25fbd581f8b1d38.zip |
Fix cover's HTML-generation logic to escape ampersands in source code
When cover generates HTML files and embeds source code within them, it
does not escape ampersands in the source code. These bare ampersands
get misinterpreted by web browsers as HTML character-entity
references; as a result, source code containing ampersands renders
improperly. This small patch fixes the problem by causing bare
ampersands to be escaped into as "&" character-entity references.
Diffstat (limited to 'lib/ic/c_src')
0 files changed, 0 insertions, 0 deletions