- From: Anselm Hannemann Web Development <info@anselm-hannemann.com>
- Date: Mon, 4 Jun 2012 08:05:23 +0200
- To: Julian Reschke <julian.reschke@gmx.de>
- Cc: "whatwg@whatwg.org" <whatwg@whatwg.org>
Am 01.06.2012 um 21:01 schrieb Julian Reschke: > On 2012-06-01 20:24, Kornel LesiĆski wrote: >> ... >>>> If there are commas or backslashes in the URL they must be escaped with `\`. >>> This is another problem why I would separate the diff. srces. >>> Escaping an URL is not something that should be necessary in HTML I think. >> >> I agree, it's ugly, but otherwise you get ambiguous syntax for entries without descriptor or media query. >> >> I thought about specifying some magic, like ignoring trailing comma in URL, but all such magical solutions have surprising edge cases. Explicit escaping is at least easy to comprehend. >> ... > > An alternative is to pick different delimiters. See, for instance, <http://tools.ietf.org/html/rfc2295#section-8.3>. > Best regards, Julian I also would like to see another delimiting syntax which is clearer. What about JSON-syntax or just " | "? I mean a backslash is not that common in a URL but commas are more and more and you all know that escaping is no fun. So we should really try to avoid this. -Anselm
Received on Monday, 4 June 2012 06:05:53 UTC