From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.text.pandoc/29851 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Joseph Reagle Newsgroups: gmane.text.pandoc Subject: Re: Turn off headers for Mac OS clipboard content output in HTML? Date: Tue, 28 Dec 2021 09:33:00 -0500 Message-ID: References: <9ac6c67a-8aba-4a19-bde0-65e37340c5d6n@googlegroups.com> Reply-To: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="UTF-8"; format=flowed Content-Transfer-Encoding: quoted-printable Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="17783"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.0; rv:68.0) Gecko/20100101 Thunderbird/68.12.1 To: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Original-X-From: pandoc-discuss+bncBD65ZAVVYEKRBIGAVSHAMGQEIACYX2Q-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Tue Dec 28 15:33:10 2021 Return-path: Envelope-to: gtp-pandoc-discuss@m.gmane-mx.org Original-Received: from mail-il1-f189.google.com ([209.85.166.189]) by ciao.gmane.io with esmtps (TLS1.3:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.92) (envelope-from ) id 1n2DXH-0004Hn-R6 for gtp-pandoc-discuss@m.gmane-mx.org; Tue, 28 Dec 2021 15:33:07 +0100 Original-Received: by mail-il1-f189.google.com with SMTP id q12-20020a056e0220ec00b002b4dfeb7b27sf9792755ilv.0 for ; Tue, 28 Dec 2021 06:33:07 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1640701986; cv=pass; d=google.com; s=arc-20160816; b=p3ccznqTvjh56v51yoWzBKY1jMgCy1/1XHk8gN98HJnSIXRMhJaVsmKemNxJZBsRHW hw66s7prdj59NCCVqLJ1wnZz6NRU/t8OpMADu1QXM61aMXa9n7DVfSAY7eL865XKN4OK 8skGwz8g6/4R5P0YVYyAeZbxQ/kgjmrGieLp5F/xuYYGyIPguzz40TpcQSLzgCLCfQMT +7+RqbOy/V4JzH9fBnW8d6w/hr5u3BHhLPZN3YoKQlIC3Ns2sE6DlZ7YSHTUq+Tib2v7 eXNcc8NdwCD8kmCdhH41zcPxu/Mgw4+J5W7RIGP749nPGwO6mJdq3YDzmaCnJcAygneS QkQw== 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:content-transfer-encoding :content-language:in-reply-to:mime-version:user-agent:date :message-id:from:references:to:subject:sender:dkim-signature; bh=FyqBJffzIzQydKEwLn9VUINIDHQ/9iwyYYWswE7aK+s=; b=lMO73Pr/uUIKa41qj3SmiP5nmR/nIfWnXvnjCKE4lkyZmIalvYk5xIAgvwkIETs86J 3eF72v+XkDWj2l4NyDMGzqKsKvWFZT0goqJQ715rDyuKAlpU4KULtvvMRYJb41HPHXLo zBnDyjQWgCeOfPu6Uc8S2pECaoQlzFG+k3WyNO2pb237ArJBRc5lk6FuZMDUZ0tn1gHQ wyrAL6tNPqAPTX7T2FwV7LY/wUoQ6n8eSgXGaTZAUVtVl4oEPhljL+gKLh3ZKhzkazhO vRz6fDxac0Rj+e/S6elWZOShO32dr0DkeYIdY0KfwlccRc15xSiLRYAHpuVJJsc8dHVW Pp1w== ARC-Authentication-Results: i=2; gmr-mx.google.com; dkim=pass header.i=@reagle.org header.s=default header.b=Wnbq5CKM; spf=pass (google.com: domain of joseph.2011-T1oY19WcHSwdnm+yROfE0A@public.gmane.org designates 23.83.212.48 as permitted sender) smtp.mailfrom=joseph.2011-T1oY19WcHSwdnm+yROfE0A@public.gmane.org DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlegroups.com; s=20210112; h=sender:subject:to:references:from:message-id:date:user-agent :mime-version:in-reply-to:content-language:content-transfer-encoding :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=FyqBJffzIzQydKEwLn9VUINIDHQ/9iwyYYWswE7aK+s=; b=gyiDTiI4ZceFrej1waMRIw8sGxscoDKohrt792DRXYMI43gUApou9LbxpOlU52bwIx fS2mKGCdn6h17dq+kNV8Kwyz9JWAQDrBW3WUKTl4wQzRtIOwKfIBQ0BHAAIyBBuahmDR FKHnSj/yatxhfkq5oOtUZDm+cF73rdaL8OS9me6W4npr/JJW7lH1jzS49Yf6eEWcUihC Xwpz3QC2+ljAu6fNQUUJHtUyL/Uj/21o7702oalNiNpkdTn0uKmBV0Zw56eoKvxJq77H hwmXgGTvdoWbpClRtN+iIrNvDVJULZ7Tc8av7+fl8iuMhLjaVKpmW0/IdbTAqlh5409U w8PA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=sender:x-gm-message-state:subject:to:references:from:message-id :date:user-agent:mime-version:in-reply-to:content-language :content-transfer-encoding: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=FyqBJffzIzQydKEwLn9VUINIDHQ/9iwyYYWswE7aK+s=; b=ZrkUJ1sSdFcRRwfaZEug3wfaPzEpw8PYqlytvcluJzc6fHL7EMU8A4sudUPLW27ubR /Zal0cr9NAlzfkYN8iFWeIklcWsSgT2g4ZNc/55zcjoemXwpyUYzlMWbfODC4FM9Tjsq WYCH+TCGhmTJjiZbtwLZj06TcuR3QPY9mx6seXVa3sLD5yu+rb0gsiRytvImbC0qSAiP bKuKSmQIpE8qT09Gucmqeta7MAD6Bl8gkW2ErCEcxMV9/lbcPA297WdZdo+CMf0tm2zE jAhbmuwFL3lpapccRR80d1QAHqyKVzDz7nKu Original-Sender: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org X-Gm-Message-State: AOAM533jqVCCURlgZ3netbgnmvl/C0scA/kVZ7kGjn/ZndW/gHWPHoZZ 5iwFc+GKn/J/nYs3WdAfIUw= X-Google-Smtp-Source: ABdhPJyp4pMR/y7wxWMYvfLEmSN0H1/bWDVyYeeu1O3y0xeVt3uKF/v8qKYes7rzGmud9jNfBwUeWw== X-Received: by 2002:a05:6638:38d:: with SMTP id y13mr6840154jap.318.1640701986226; Tue, 28 Dec 2021 06:33:06 -0800 (PST) X-BeenThere: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Original-Received: by 2002:a5d:9358:: with SMTP id i24ls1554878ioo.4.gmail; Tue, 28 Dec 2021 06:33:04 -0800 (PST) X-Received: by 2002:a05:6602:2e11:: with SMTP id o17mr9425002iow.172.1640701984548; Tue, 28 Dec 2021 06:33:04 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1640701984; cv=none; d=google.com; s=arc-20160816; b=RXf5+yy3yadCJeBHE5FD6PMmg4L6ZezoPCnw8FKNSEJpfvY/GlgELPxATdUKMf/ME9 N8PJe0/FesR4L1OafdUSFCOt/oBoGG2ATHHYCXQO2tmASTN0CHF2XvrXEgWT4F0cyCr+ 2nUXt490/sF1a1tvgb382wPl5xmj5h2pEqGHs5+3aMN/6wsqov5wn8SAaCZpbeVq6u+2 +3ay5W0vr7/yqG6lvuVrNBWuYpxiTaXuYeiuClDjWNmrnviTGA76VSIxssDcwR7/c8pM RNWiNY0QJEKvz3/ZzZD8+BtdnBE4QcclVOLw+ApiMU9QCi4TX9Mpsy4Y0cB5lwKucX80 BbGw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:content-language:in-reply-to:mime-version :user-agent:date:message-id:from:references:to:subject :dkim-signature; bh=va1H/LroQQ7x2J6VPLB/rcdKfFKXkteP62o3Y2x4+bg=; b=REjD/3D8do569iI3Pi+WOY/Tj3Xj7KBUjP16XBvvAlTD8poFkN0ujIPro8W2dBqNST L3hx7k9JsGNEWNMvO6RlIpIhfWbId+YPDTDlFIvs7jtygCVLjW+cluR99BXTd6vUVswg p26QprRP1b/anu96I2hB2AjoysdwgxxZCcHscA/x7hHyMmKQS3vH9JoPqDSqkRrtaukz UOtSwxRtb1N6jSOR2p16gTLW+sPyKUPw3JZbImPklWY/EtPHK23xqnzSgf6/VviUtJf8 WVFEDDLHAH6dPggSw+MefKS7VV2XMR7z9W5rYZGUXdfcx10d0vvvkSAS4iGDfWRIIHl5 Wv/w== ARC-Authentication-Results: i=1; gmr-mx.google.com; dkim=pass header.i=@reagle.org header.s=default header.b=Wnbq5CKM; spf=pass (google.com: domain of joseph.2011-T1oY19WcHSwdnm+yROfE0A@public.gmane.org designates 23.83.212.48 as permitted sender) smtp.mailfrom=joseph.2011-T1oY19WcHSwdnm+yROfE0A@public.gmane.org Original-Received: from dog.elm.relay.mailchannels.net (dog.elm.relay.mailchannels.net. [23.83.212.48]) by gmr-mx.google.com with ESMTPS id f7si868243iob.3.2021.12.28.06.33.03 for (version=TLS1_2 cipher=ECDHE-ECDSA-AES128-GCM-SHA256 bits=128/128); Tue, 28 Dec 2021 06:33:04 -0800 (PST) Received-SPF: pass (google.com: domain of joseph.2011-T1oY19WcHSwdnm+yROfE0A@public.gmane.org designates 23.83.212.48 as permitted sender) client-ip=23.83.212.48; X-Sender-Id: a2hosting|x-authuser|joseph-T1oY19WcHSwdnm+yROfE0A@public.gmane.org Original-Received: from relay.mailchannels.net (localhost [127.0.0.1]) by relay.mailchannels.net (Postfix) with ESMTP id F3C346C14D0 for ; Tue, 28 Dec 2021 14:33:02 +0000 (UTC) Original-Received: from az1-ss21.a2hosting.com (unknown [127.0.0.6]) (Authenticated sender: a2hosting) by relay.mailchannels.net (Postfix) with ESMTPA id 6E19F6C13A0 for ; Tue, 28 Dec 2021 14:33:02 +0000 (UTC) X-Sender-Id: a2hosting|x-authuser|joseph-T1oY19WcHSwdnm+yROfE0A@public.gmane.org Original-Received: from az1-ss21.a2hosting.com (az1-ss21.a2hosting.com [68.66.224.43]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384) by 100.109.250.35 (trex/6.4.3); Tue, 28 Dec 2021 14:33:02 +0000 X-MC-Relay: Neutral X-MailChannels-SenderId: a2hosting|x-authuser|joseph-T1oY19WcHSwdnm+yROfE0A@public.gmane.org X-MailChannels-Auth-Id: a2hosting X-Illegal-Madly: 0f502e33242ba59b_1640701982760_3639698085 X-MC-Loop-Signature: 1640701982760:2819846142 X-MC-Ingress-Time: 1640701982760 Original-Received: from c-73-149-23-48.hsd1.ma.comcast.net ([73.149.23.48]:63201 helo=[192.168.0.50]) by az1-ss21.a2hosting.com with esmtpsa (TLS1.2) tls TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256 (Exim 4.94.2) (envelope-from ) id 1n2DXB-0000gf-Ey for pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org; Tue, 28 Dec 2021 07:33:01 -0700 In-Reply-To: <9ac6c67a-8aba-4a19-bde0-65e37340c5d6n-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org> Content-Language: en-US X-AuthUser: joseph-T1oY19WcHSwdnm+yROfE0A@public.gmane.org X-Original-Sender: joseph.2011-T1oY19WcHSwdnm+yROfE0A@public.gmane.org X-Original-Authentication-Results: gmr-mx.google.com; dkim=pass header.i=@reagle.org header.s=default header.b=Wnbq5CKM; spf=pass (google.com: domain of joseph.2011-T1oY19WcHSwdnm+yROfE0A@public.gmane.org designates 23.83.212.48 as permitted sender) smtp.mailfrom=joseph.2011-T1oY19WcHSwdnm+yROfE0A@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.io gmane.text.pandoc:29851 Archived-At: The doctype declaration is a standard HTML feature and declares the version= of the HTML. Pandoc, especially in `--standalone` mode includes these at t= he start of an HTML document. I'm confused, however. You haven't specified standalone mode. (And why woul= d you want them removed in any case?) And the behavior you are describing d= oesn't correspond to recent versions -- I'm using 2.16.2. I'm not sure when= /if pandoc last used HTML4.01 strict. In any case, you could create your own HTML template, without a doctype dec= laration. https://pandoc.org/MANUAL.html#templates On 21-12-27 15:04, philmac-97jfqw80gc6171pxa8y+qA@public.gmane.org wrote: > I am using Pandoc to convert dumb quotes to smart quotes in HTML. The HTM= L is on my MacOS clipboard: >=20 > pbpaste | pandoc -t html+smart | pbcopy >=20 > The output begins with >=20 > >=20 > and a blank line. >=20 > Is it possible to turn this off? --=20 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 e= mail to pandoc-discuss+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To view this discussion on the web visit https://groups.google.com/d/msgid/= pandoc-discuss/e8eac3cc-feb6-e3af-dc9d-d3fe0b964925%40reagle.org.