edbrowse-dev - development list for edbrowse
 help / color / mirror / Atom feed
From: Adam Thompson <arthompson1990@gmail.com>
To: Karl Dahlke <eklhad@comcast.net>
Cc: Edbrowse-dev@lists.the-brannons.com
Subject: Re: [Edbrowse-dev] tidy debug tree, and a js script
Date: Sat, 29 Aug 2015 15:58:20 +0100	[thread overview]
Message-ID: <20150829145820.GE31434@toaster.adamthompson.me.uk> (raw)
In-Reply-To: <20150729103609.eklhad@comcast.net>

[-- Attachment #1: Type: text/plain, Size: 1694 bytes --]

On Sat, Aug 29, 2015 at 10:36:09AM -0400, Karl Dahlke wrote:
> > If we want to print tidy warnings for local files fair enough,
> > but lets make it a user's choice,
> 
> We can come up with a better convention,
> similar to nojs and novs in the config file,
> I'm fine with that, we're just playing so to speak.
> But I'm not going to worry too much abount conventions
> until we know tidy5 is usable, which I'm not sure it is.
> 
> You're talking about what the specs say, I'm talking about
> what's on the internet that we have to honor.
> I'm sure I could find document.write with tags in it if I look around.

No, this just doesn't work in anyone's conforming implementation.
Apparently it's a difference between html and xhtml or something,
I'm not entirely sure.

> But ok, if you didn't like my last sample script then try this one.
> I know this is to spec.
> 
> <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
> <html>
> <head><title>jf test </title></head>
> <body>
> hello world
> <script type=text/javascript>
> if(3 < 4) alert("alls well");
> </script>
> </body></html>
> 
> Turn off js, we don't need it here, set db6, browse,
> and see that < is turned into &lt;.
> That would be a syntax error.
> Tidy is mucking withth the script.

Haven't ran the edbrowse test yet, but downloaded,compiled and installed tidy5
and ran your script through their executable.
The script came out perfectly fine (and yes I know tidy consumed the html
because it added the generator field). Not sure what we're doing differently.
I wonder if it's just a printing thing or something.

Cheers,
Adam.

[-- Attachment #2: Digital signature --]
[-- Type: application/pgp-signature, Size: 473 bytes --]

  reply	other threads:[~2015-08-29 14:56 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-08-29 10:04 Karl Dahlke
2015-08-29 13:25 ` Adam Thompson
2015-08-29 14:36   ` Karl Dahlke
2015-08-29 14:58     ` Adam Thompson [this message]
2015-08-29 16:05       ` Karl Dahlke
2015-08-30  1:15         ` Kevin Carhart
2015-08-30  8:26         ` Adam Thompson
2015-08-30  9:30           ` Adam Thompson
2015-08-30  9:49             ` Karl Dahlke
2015-08-30 10:02               ` Adam Thompson
2015-08-30 10:31                 ` Karl Dahlke
2015-08-30 11:16                   ` Adam Thompson

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20150829145820.GE31434@toaster.adamthompson.me.uk \
    --to=arthompson1990@gmail.com \
    --cc=Edbrowse-dev@lists.the-brannons.com \
    --cc=eklhad@comcast.net \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).