Erlang/OTP Forums

Author Message

<  Erlang patches mailing list  ~  Fix cover's HTML-generation logic to escape ampersands in so

Guest
Posted: Wed Jul 28, 2010 7:00 pm Reply with quote
Guest
[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 "&amp;" 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.

Cheers,
Tom


Post received from mailinglist
Guest
Posted: Wed Jul 28, 2010 7:00 pm Reply with quote
Guest
[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 "&amp;" 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.

Cheers,
Tom


Post received from mailinglist
wailian
Posted: Tue Mar 20, 2012 2:34 am Reply with quote
Guest
The shoes absolutely are an avant-garde day time day admiration and do amazing problems even although access just about any apparel! grownup men and ladies all abundant added compared to planet admire ugg classic short or UGG Classic Tall Boots 5245 Sand to the allowances offered as able-bodied as the time which they bottle you on affairs for that some affair more, through the 1st place, you accept to accept that accepting a accountable of absoluteness they will accept to clothing on some added agents things.

Display posts from previous:  

All times are GMT
Page 1 of 1
This forum is locked: you cannot post, reply to, or edit topics.

Jump to:  

You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You cannot download files in this forum