From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-wi0-x22d.google.com (mail-wi0-x22d.google.com [IPv6:2a00:1450:400c:c05::22d]) by hurricane.the-brannons.com (Postfix) with ESMTPS id 9ABCC77CC9 for ; Mon, 14 Sep 2015 10:02:30 -0700 (PDT) Received: by wiclk2 with SMTP id lk2so149555747wic.0 for ; Mon, 14 Sep 2015 10:05:16 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=date:from:to:cc:subject:message-id:references:mime-version :content-type:content-disposition:in-reply-to:user-agent; bh=B9iHPjPREFSmnIY0LaLw97TtWsPLsQNZ2vBzgaIwpWs=; b=N3G70137IiBwg6kOBC5lWPW3xOxj1z10BECaY5vanfpvcR8jQ9HymGGwi2EPEv2bfF eLRd3o2MmALOFE20ydT40lD3r60Tu29xTTzoXRA2rYnCjQIT2LpPQAR94H0537w2+EL9 sRYRTHO6mYEdMDsmECT1u/UplvgbJL6dLIvccXYIIVw0P+4gH5poJrMpQm7ovHwjWH+4 Cc3WdY4mmj4N69ogbJZF7/T7IdMpf9faSBp9eX3oz7pP5hJ77xmQ1DSQXtdNAh7thGeT ymNx326Gu3ItGULw/nG4gCuagdXTxYzfL+SKyphDkivQuNRjqxBKFhPFizLtCQyiqkOX GtIw== X-Received: by 10.194.248.234 with SMTP id yp10mr77233wjc.24.1442250316482; Mon, 14 Sep 2015 10:05:16 -0700 (PDT) Received: from toaster.adamthompson.me.uk (toaster.adamthompson.me.uk. [2001:8b0:1142:9042::2]) by smtp.gmail.com with ESMTPSA id ex8sm15338565wib.14.2015.09.14.10.05.15 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 14 Sep 2015 10:05:15 -0700 (PDT) Date: Mon, 14 Sep 2015 18:05:13 +0100 From: Adam Thompson To: Karl Dahlke Cc: Edbrowse-dev@lists.the-brannons.com Message-ID: <20150914170513.GH29720@toaster.adamthompson.me.uk> References: <20150812212213.eklhad@comcast.net> <20150913163728.GG29720@toaster.adamthompson.me.uk> <20150813130545.eklhad@comcast.net> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="9sSKoi6Rw660DLir" Content-Disposition: inline In-Reply-To: <20150813130545.eklhad@comcast.net> User-Agent: Mutt/1.5.23 (2014-03-12) Subject: Re: [Edbrowse-dev] tidy script bug workaround X-BeenThere: edbrowse-dev@lists.the-brannons.com X-Mailman-Version: 2.1.20 Precedence: list List-Id: Edbrowse Development List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 14 Sep 2015 17:02:31 -0000 --9sSKoi6Rw660DLir Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Sun, Sep 13, 2015 at 01:05:45PM -0400, Karl Dahlke wrote: > > Doesn't this miss the also destructive =20 > Yes it does, but "" does not seem to appear in the wild. > In other words, web developers and generators are careful not to crank out > the string "......" because anywhere ends the script. > My parser has made this assumption for ten years, and it's pretty reliabl= e. >=20 > They're more than happy to write > var a =3D ""; > the latter often written as > var a =3D ""; > This too generates a tidy warning, because or but it does not cause trouble and does not derail the script. > So my early research suggests we're ok here. Ok that makes sense. In which case I'm unclear as to why tidy5 wouldn't han= dle