Re: Ampersand in text flow and URIs

Le 26 nov. 2012 à 21:08, Ryan Freebern a écrit :
> On Mon, Nov 26, 2012 at 3:22 AM, Karl Dubost <karld@opera.com> wrote:
> Are there any other constructs to consider?
> 
> When the text flow contains an HTML entity written by hand: 
> 
> http://johnmacfarlane.net/babelmark2/?text=HTML+entities+are+written+using+ampersand+notation%3A+%26copy%3B 


Ah interesting. So basically not escaping it, keeping it as is (and/or converting as utf-8), except when in between `&copy;` -> becomes &amp;copy;

Thanks Ryan. That is useful.
Added https://github.com/karlcow/markdown-testsuite/blob/master/tests/entities-text-flow.md



-- 
Karl Dubost - http://dev.opera.com/
Developer Relations, Opera Software

Received on Monday, 26 November 2012 13:20:10 UTC