From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from out.smtp-auth.no-ip.com (smtp-auth.no-ip.com [8.23.224.61]) by hurricane.the-brannons.com (Postfix) with ESMTPS id 7089E7890C for ; Fri, 11 Sep 2015 23:14:31 -0700 (PDT) X-No-IP: carhart.net@noip-smtp X-Report-Spam-To: abuse@no-ip.com Received: from carhart.net (unknown [99.52.200.227]) (Authenticated sender: carhart.net@noip-smtp) by smtp-auth.no-ip.com (Postfix) with ESMTPA id 33736400B17; Fri, 11 Sep 2015 23:17:12 -0700 (PDT) Received: from carhart.net (localhost [127.0.0.1]) by carhart.net (8.13.8/8.13.8) with ESMTP id t8C6HABf005829; Fri, 11 Sep 2015 23:17:10 -0700 Received: from localhost (kevin@localhost) by carhart.net (8.13.8/8.13.8/Submit) with ESMTP id t8C6H9Vc005826; Fri, 11 Sep 2015 23:17:10 -0700 Date: Fri, 11 Sep 2015 23:17:09 -0700 (PDT) From: Kevin Carhart To: Karl Dahlke cc: edbrowse-dev@lists.the-brannons.com In-Reply-To: <20150811111928.eklhad@comcast.net> Message-ID: References: <20150811111928.eklhad@comcast.net> User-Agent: Alpine 2.03 (LRH 1266 2009-07-14) MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed Subject: Re: [Edbrowse-dev] tidy script bug 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: Sat, 12 Sep 2015 06:14:31 -0000 Thanks Karl. Yes, there are small kludges discussed in threads, such as various kinds of escaping. But all roads lead back to the Tidy5 developers, namely Geoff & Jim. And they have talked about this recently. Just on July 13, Geoff said "maybe it is time to try to do something about this long outstanding problem in scripts..." There are currently only 8 open issues on the tidy5 project, and this is one of them. The thread can be found at, https://github.com/htacg/tidy-html5/issues/65 Geoff even submitted a patch about this way back in 2007. A user called NoNoNo asked about it again in 2012 and submitted his own patch. Then it was picked up again in 2015! This has also been discussed on stack overflow and other boards, but I think bringing it up with Geoff McLane would be the way to go. I can send the links I found, if anyone wants to review what kinds of escaping hacks people are suggesting. I don't think they help us.. It seemed like things that would be useful in a smaller and more colloquial context. Like if someone was hand-writing their own home page and wanted it to pass Tidy validation, maybe you could get away with throwing in some backslashes or escape-encoding a line. But we don't want to do those tricks. thanks Kevin On Fri, 11 Sep 2015, Karl Dahlke wrote: > Kevin, let us know if your research uncovers something regarding this > script in script bug, and assuming it does not yield a solution, > which I think it won't since the bug is still there, > then perhaps Chris you should report it to the tidy team > and see if they are on board with fixing it. > I could probably preprocess the html text to get around it, > but that's like the last thing I'd want to do. > > Karl Dahlke > -------- Kevin Carhart * 415 225 5306 * The Ten Ninety Nihilists