Fix cover's HTML-generation logic to escape ampersands in source code
Wed Jul 28 21:00:02 CEST 2010
[I'm resubmitting this patch since it never made it to the list the
first time around. --Tom]
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.
git fetch git://github.com/tmoertel/otp.git fix_cover_html_escaping
It's a tiny patch, so I'm enclosing it, too.
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 1238 bytes
Desc: not available
More information about the erlang-patches