W3C home > Mailing lists > Public > public-secondscreen@w3.org > August 2015

[presentation-api] new commits pushed by anssiko

From: Anssi Kostiainen via GitHub <sysbot+gh@w3.org>
Date: Mon, 24 Aug 2015 08:24:32 +0000
To: public-secondscreen@w3.org
Message-ID: <push-8689195494685797484b94b8dda1ee04e3074ffa-1440404671-sysbot+gh@w3.org>

The following commits were just pushed by anssiko to 
https://github.com/w3c/presentation-api:

* Set tidy "preserve-entitites" config flag to preserve &amp; escaping

Recent version 5.0.0 of tidy seems to treat ampersands a bit 
differently. It
drops the escaping of non-ambiguous ampersands in particular.

That is technically correct in HTML5, see the relevant spec definition
 in
particular:
http://www.w3.org/TR/html5/syntax.html#syntax-ambiguous-ampersand

I would personally prefer tidy not to update entitites that we chose 
to escape
though. The "preserve-entities" setting does just that.

This was initially raised in #164
https://github.com/w3c/presentation-api/issues/164#issuecomment-133460718

FWIW, the change in Tidy may be due to:
https://github.com/htacg/tidy-html5/issues/207
  by Fran├žois Daoust
https://github.com/w3c/presentation-api/commit/ecd3cd761e3885f7e5ea023729389f01278db13e

* Merge pull request #168 from tidoust/tidy-preserve-ampersands

Set tidy "preserve-entitites" config flag to preserve &amp; escaping
  by Anssi Kostiainen
https://github.com/w3c/presentation-api/commit/8689195494685797484b94b8dda1ee04e3074ffa
Received on Monday, 24 August 2015 08:24:36 UTC

This archive was generated by hypermail 2.3.1 : Monday, 24 August 2015 08:24:36 UTC