From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.text.pandoc/17938 Path: news.gmane.org!.POSTED!not-for-mail From: John MacFarlane Newsgroups: gmane.text.pandoc Subject: Re: using pandoc to validate html Date: Sun, 23 Jul 2017 10:01:02 +0200 Message-ID: <20170723080102.GE67976@macbook-air-2.home> References: Reply-To: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="UTF-8"; format=flowed X-Trace: blaine.gmane.org 1500796877 16915 195.159.176.226 (23 Jul 2017 08:01:17 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Sun, 23 Jul 2017 08:01:17 +0000 (UTC) User-Agent: Mutt/1.5.23 (2014-03-12) To: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Original-X-From: pandoc-discuss+bncBCJZJHG45QDBBTVP2HFQKGQEH4LX5FY-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Sun Jul 23 10:01:13 2017 Return-path: Envelope-to: gtp-pandoc-discuss@m.gmane.org Original-Received: from mail-yb0-f188.google.com ([209.85.213.188]) by blaine.gmane.org with esmtp (Exim 4.84_2) (envelope-from ) id 1dZBpB-000490-3O for gtp-pandoc-discuss@m.gmane.org; Sun, 23 Jul 2017 10:01:13 +0200 Original-Received: by mail-yb0-f188.google.com with SMTP id w187sf5380495ybc.0 for ; Sun, 23 Jul 2017 01:01:19 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1500796878; cv=pass; d=google.com; s=arc-20160816; b=R5WcsISK/ItZbskS/5HfQP2XnGXGC3wiWWC00zmrpBJUcjhyccCcXLVsC4sctJRnXU JA2eo18VMScyBF/9CJQELBG/JWZkc2Hcp9kaXZq/sn7YQS2UuyU8d0yW7RQTwp9TeNAY 5xDM/ztdOJupOyhIW1NGnAjFUd7nv8rFS2EiDAtJvdIkKXikiV1LSqdguWXGGRJAmf9w Pprdr7afFPg25Z+M6usFCC5noCqjgYz/EH+0J8saxIk6ZFKOcZkSuc7tYTtXoeljgSM7 9mS4Wkoiw+1F2r2Ya7kTnA02ElbqGvlmumuj2FvNYsGdSeR1DQd7TA7EyDOnS/gYqlon Nq6g== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-unsubscribe:list-subscribe:list-archive:list-help:list-post :list-id:mailing-list:precedence:reply-to:user-agent:in-reply-to :content-disposition:mime-version:references:message-id:subject:to :date:from:arc-authentication-results:arc-message-signature:sender :dkim-signature:arc-authentication-results; bh=rnFYeG1bzt9TKiFQnfdFPqzKIDjwsppJRDjVJEmMo2U=; b=LP/cZPwj9r3SHGkx8P//iftrdw56eY/gZuh7Nuy/rpsEjuypUQw2TdZ2SYT71FVzaC 6mxbXGoj+e5VXck8JzFnB0gexcpn7KGEvDrmqgPNfBLTLLTdvplakF68t1zbfyZHccPG 24o/0wT/uGWRb45ZOm7+1F8RsHdcWgW+JIPVQ6tlNKTXaaULFdS3skQHr2OEXK0d43Fw w8zI4Kwg72bD/1uRIH1KpvlDJHPiPATBOY8HfH5oCzpbt+JZl1sWlMOA+BP5IJXNSuee fPvdx2tTJfuQz1fsshih347JSuq/C3s4zJiqAss+wNvWJqGrMHQmeU40HMJcmS48jiAr ARC-Authentication-Results: i=2; gmr-mx.google.com; dkim=pass header.i=@berkeley-edu.20150623.gappssmtp.com header.b=SUFqP9lC; spf=pass (google.com: domain of jgm-TVLZxgkOlNX2fBVCVOL8/A@public.gmane.org designates 2607:f8b0:400e:c05::22b as permitted sender) smtp.mailfrom=jgm-TVLZxgkOlNX2fBVCVOL8/A@public.gmane.org DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlegroups.com; s=20161025; h=sender:from:date:to:subject:message-id:references:mime-version :content-disposition:in-reply-to:user-agent:x-original-sender :x-original-authentication-results:reply-to:precedence:mailing-list :list-id:list-post:list-help:list-archive:list-subscribe :list-unsubscribe; bh=rnFYeG1bzt9TKiFQnfdFPqzKIDjwsppJRDjVJEmMo2U=; b=LCKNoo0GqmXpuO4JmJfDeKURTJrV7J8XdvlFXsoiYioXqf24tCK+yCZBxkYFQnEmYH GgCFhkPQziR6FfjRlJByYQ8C5V1GGyYlt+AaEsFiD9c2GpkgMcX6JzqGhL8HIUbIrJ1g X1Gzh8I/tcpD33C32Anl+qJKP+zTU2wzzNIxaFFrqcQHrs9rY4haJTiuzT0sfEn8jIbm +oz3aVXuMmkQTgJxCvkkznpzJIvQmijd09H833YAgHsX9x44kWA/WtGVZ8LDjCQKk8Jl JjvORQgyS3Hjq9ppr4yPa0EDvWrS1isetk5iTDgTCkAbhG8CQ5PnUvc82LPsfD9WSK+1 K7Xg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=sender:x-gm-message-state:from:date:to:subject:message-id :references:mime-version:content-disposition:in-reply-to:user-agent :x-original-sender:x-original-authentication-results:reply-to :precedence:mailing-list:list-id:x-spam-checked-in-group:list-post :list-help:list-archive:list-subscribe:list-unsubscribe; bh=rnFYeG1bzt9TKiFQnfdFPqzKIDjwsppJRDjVJEmMo2U=; b=iS2MClXVdW+bzSqnjHLUI+wYIq/mbMs9wBuEUBp1XmNOrDMCKH6oq1FCWM7Xd3Jv09 FRsuA0otKE96tkhklTUJBlWKrCnQXnHujBi+1IFSiavdCk4l42tIk9RYChuH01LQAkSb F/ttEBJZaUoDY1/GA4C/2ERyO9LR4xIRuDvftidI3+spi4LZUBT+GubaGyLeq1QVOMlZ 0E3/SO57wU4PPgN/NwPS3RDUiXinISCkn69cj+jhyqGmpytsFTD3kxqfpqpf+59H53tC NqAutrAGnU1c0nGsy+xlJXVZY+9X3n36ILRjVV6FOkjr8OmL+w7PqRFpgyYTuI/jDdTj Original-Sender: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org X-Gm-Message-State: AIVw113/o4DHHXFq0oEzxU/r8QmUj8XX6mWVn0UzDYi9KGPsk8BvxYlq ziKKmdbs329Q+Q== X-Received: by 10.36.29.212 with SMTP id 203mr148819itj.5.1500796878683; Sun, 23 Jul 2017 01:01:18 -0700 (PDT) X-BeenThere: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Original-Received: by 10.36.147.195 with SMTP id y186ls1888774itd.14.gmail; Sun, 23 Jul 2017 01:01:18 -0700 (PDT) X-Received: by 10.36.124.203 with SMTP id a194mr2803207itd.35.1500796877977; Sun, 23 Jul 2017 01:01:17 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1500796877; cv=none; d=google.com; s=arc-20160816; b=i5mBLawkux2E7ay8j2+amNGVCflNfCUHtpqPUproKs2j1f8C2X5kiWVVsCQjqetW8V W5Wsgog9oDhpGCw3vzPRmwvDTwvS9PMdxSBYRQWcnJMOUNh3axj28yi2TErdsfjE/qAW oOBRfJg7+LeD9MnlBeFfc5VxubUaBy9CRvak+avPy3lMMZOWUMEJ1YgGrFsMKVO1lGgx wDKveq6x85odUvsugA9bd6V7+At0xe0a01FHEVfAoxay/AvmUrdSvmIE9xiMCrEVVJZF ip8SQfMcYor2hXzam+ZaC4x1kIuuqiWaiMppSUIPzQHMYyabseU+rTI+cjUMj2+Qq/At vWxA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=user-agent:in-reply-to:content-disposition:mime-version:references :message-id:subject:to:date:from:dkim-signature :arc-authentication-results; bh=9HS8fRPIijzY80X8Pl45FhA13jXpygf/i6Kg1t+1dCs=; b=bLPp6/C2V3+io/1fnwJdAJm9koQjyoG6/RSiIxzvwfxjWI70pLLX9m1+LANrz0/ddR 3sy89oINPdnK3de1ZcfEKpVQin/t4u0Qa/oKGJv0uRO+8khI0hYoF7qIA1Btamv3sYqp zcpDXxG6RLS8Vnpb9/KPvRUUyLB1b/7WINCXgQPaFkh+p4JSTc8igoFuG7lbVkQ//U51 n4P1KBON9nBcwkhqs+fHa13zGu6pZ/6Janx9z7BjI6adxDm+TsRdIUCMT3kKVncJK5VI LCDiBUC8x6WtK3r7LVj4ZRgaPMJcq0ZCQMe97Rv3k5R3H3GpFnaQHvsxyIqArnG8U8B+ 6jDA== ARC-Authentication-Results: i=1; gmr-mx.google.com; dkim=pass header.i=@berkeley-edu.20150623.gappssmtp.com header.b=SUFqP9lC; spf=pass (google.com: domain of jgm-TVLZxgkOlNX2fBVCVOL8/A@public.gmane.org designates 2607:f8b0:400e:c05::22b as permitted sender) smtp.mailfrom=jgm-TVLZxgkOlNX2fBVCVOL8/A@public.gmane.org Original-Received: from mail-pg0-x22b.google.com (mail-pg0-x22b.google.com. [2607:f8b0:400e:c05::22b]) by gmr-mx.google.com with ESMTPS id e70si2008777pfb.7.2017.07.23.01.01.17 for (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Sun, 23 Jul 2017 01:01:17 -0700 (PDT) Received-SPF: pass (google.com: domain of jgm-TVLZxgkOlNX2fBVCVOL8/A@public.gmane.org designates 2607:f8b0:400e:c05::22b as permitted sender) client-ip=2607:f8b0:400e:c05::22b; Original-Received: by mail-pg0-x22b.google.com with SMTP id 125so44769290pgi.3 for ; Sun, 23 Jul 2017 01:01:17 -0700 (PDT) X-Received: by 10.84.210.37 with SMTP id z34mr8772580plh.447.1500796877563; Sun, 23 Jul 2017 01:01:17 -0700 (PDT) Original-Received: from johnmacfarlane.net (li55-134.members.linode.com. [74.82.3.134]) by smtp.gmail.com with ESMTPSA id s14sm18852803pgo.14.2017.07.23.01.01.16 for (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Sun, 23 Jul 2017 01:01:17 -0700 (PDT) Original-Received: by johnmacfarlane.net (Postfix, from userid 1000) id 5A2C5A1C5; Sun, 23 Jul 2017 04:01:06 -0400 (EDT) Content-Disposition: inline In-Reply-To: X-PGP-Key: http://johnmacfarlane.net/jgm.asc X-Original-Sender: jgm-TVLZxgkOlNX2fBVCVOL8/A@public.gmane.org X-Original-Authentication-Results: gmr-mx.google.com; dkim=pass header.i=@berkeley-edu.20150623.gappssmtp.com header.b=SUFqP9lC; spf=pass (google.com: domain of jgm-TVLZxgkOlNX2fBVCVOL8/A@public.gmane.org designates 2607:f8b0:400e:c05::22b as permitted sender) smtp.mailfrom=jgm-TVLZxgkOlNX2fBVCVOL8/A@public.gmane.org Precedence: list Mailing-list: list pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org; contact pandoc-discuss+owners-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org List-ID: X-Google-Group-Id: 1007024079513 List-Post: , List-Help: , List-Archive: , List-Unsubscribe: , Xref: news.gmane.org gmane.text.pandoc:17938 Archived-At: No, that's out of scope. There are plenty of programs available that can check for validity. +++ John O'Regan [Jul 19 17 12:54 ]: >Hello All, > >I used Pandoc to convert HTML to HTML. It stripped out all comments. >It also fixed badly-nested inline tags. > >This made me wonder if Pandoc can tell if HTML input is valid or not, >which would come in very handy for my cmdPost project. > >To be clear, I'd like to know if an HTML fragment is valid or not. I >don't care about the corrected HTML. Can Pandoc provide this >information? I'm using Windows 7, btw. I checked the ERRORLEVEL >environment variable, but malformed HTML didn't set the value to 1. > >John > >-- >You received this message because you are subscribed to the Google Groups "pandoc-discuss" group. >To unsubscribe from this group and stop receiving emails from it, send an email to pandoc-discuss+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org >To post to this group, send email to pandoc-discuss-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org >To view this discussion on the web visit https://groups.google.com/d/msgid/pandoc-discuss/CALwjjMia2ujP-5WOYZ0o2J00VAHKuj7%2BHDewm_A8mcmvbvHOfg%40mail.gmail.com. >For more options, visit https://groups.google.com/d/optout.