From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.text.pandoc/33145 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Ben Hancock Newsgroups: gmane.text.pandoc Subject: reStructuredText: Converting to HTML wraps 'lang' value in tags Date: Mon, 2 Oct 2023 19:46:58 -0700 Message-ID: <20231002194658.6950c944@shasta> Reply-To: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="6518"; mail-complaints-to="usenet@ciao.gmane.io" To: Pandoc-List Original-X-From: pandoc-discuss+bncBCOMNMWGQENBBJ4B52UAMGQEPUVYGCA-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Tue Oct 03 04:47:08 2023 Return-path: Envelope-to: gtp-pandoc-discuss@m.gmane-mx.org Original-Received: from mail-il1-f183.google.com ([209.85.166.183]) by ciao.gmane.io with esmtps (TLS1.3:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.92) (envelope-from ) id 1qnVRE-0001LP-2H for gtp-pandoc-discuss@m.gmane-mx.org; Tue, 03 Oct 2023 04:47:08 +0200 Original-Received: by mail-il1-f183.google.com with SMTP id e9e14a558f8ab-351351eb1dfsf2970425ab.1 for ; Mon, 02 Oct 2023 19:47:07 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1696301227; cv=pass; d=google.com; s=arc-20160816; b=J5T7a7yGhVpwnwVyz4xOTuN7s5rcWpaXz+iOv05PnEwTgfO9WH5TmhWVn5t0stVVC8 5lWav/ShK3bEr8Ag3d3WoJ1B3d0YJx2Xi8aHp+J5a6lOuortykyy3jJqLmAp6ntQO/pq YwTr36wkm3wL9BmBVc0kRDm7DpDl3Y2lTsuBt+VyNu40d05pHiDxuQ285T2Spqdm0jv6 oXYMAtc8zL7R98WmZyJFtDZPu0hgZNZ5XqOKtFIyFmeOBNVV1opkekI2ce/zVKhHMALc pYaAV/BcCOckT29b8C+lULGlotxMcG+vFzJXQOJwqIm3eTQLn1Vn1QePEkZC2dU+L1uq tEpg== 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:mime-version:message-id :subject:to:from:date:feedback-id:sender:dkim-signature; bh=nYLXmgCubBsrRDUhi/QpnFPvZAoFTEge6+Bx4Yw06qI=; fh=YpHxUVMpfccvw6TdOvRLIz04oMpY70yRB/4E5jqjCyo=; b=f1bJJGjXyEuR3p2ZVkhpJkijj/DLvPzk7mQ1lK+nRHQ/jAcWFftjgeWXZNn+8TnBXD CGNp9URNM5rYFSAG0Of9GPbuTjWZYJKyeIFwJhSC+45UrU0JoXXx1sMtYdHWeffFqQza pmSlLt0K0La0ST9EyAY30yRe9iCO7C2uEidzarwKZZ18Pb8AwlYXImI8HQyapxGUQbk7 tyaCdj+QPYdXvAro+w/+ViOie3dPSi6Cw1xmmiTtpIrlXauaqEOoG2CQCjSecmbDSj+C +cTEkbK5wx3V2wszY0jZGcsz48mgSl4qBO/j8TBw2XCmozVjBewpHEvwvojUyVZXCIkx yerw== ARC-Authentication-Results: i=2; gmr-mx.google.com; dkim=pass header.i=@benghancock.com header.s=fm1 header.b=fF2CkbKq; dkim=pass header.i=@messagingengine.com header.s=fm2 header.b=Vt8dNtPT; spf=pass (google.com: domain of lists-2Dqnj5qYfKrvQC8VwISyQA@public.gmane.org designates 64.147.123.20 as permitted sender) smtp.mailfrom=lists-2Dqnj5qYfKrvQC8VwISyQA@public.gmane.org DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlegroups.com; s=20230601; t=1696301227; x=1696906027; darn=m.gmane-mx.org; h=list-unsubscribe:list-subscribe:list-archive:list-help:list-post :list-id:mailing-list:precedence:reply-to :x-original-authentication-results:x-original-sender:mime-version :message-id:subject:to:from:date:feedback-id:sender:from:to:cc :subject:date:message-id:reply-to; bh=nYLXmgCubBsrRDUhi/QpnFPvZAoFTEge6+Bx4Yw06qI=; b=u0Irxe785+vC4ITnhpLfY+TXfqnQPAaShpb0A4Ane+oc91Rpaor/IcF/b29DLmNxcF ui/Avir81wK2+5B8r+8cSAbJRJVjvFuiQ2X6WVgY3QCFyCc1MN7TBVDVIulotIzJzIeq hAsndmgh5EU9QeBCmLYn2gF3OrSiDJ0QcaC6uyWG1Gj4pZvJsMGd08Xv9zaUE317odMm s0GcFNAbC5XboGAhqCzVtKqJyapLCBbWTGre6fys/Ifu/IBG/NmQaesitV2W1Wjse5T6 ugqSJHu61gvEWcoWU/X22aK+6h83nr5dJdMhr/l1t/INmBcU6Y2vrlUNwqaknJr X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1696301227; x=1696906027; h=list-unsubscribe:list-subscribe:list-archive:list-help:list-post :x-spam-checked-in-group:list-id:mailing-list:precedence:reply-to :x-original-authentication-results:x-original-sender:mime-version :message-id:subject:to:from:date:feedback-id:x-beenthere :x-gm-message-state:sender:from:to:cc:subject:date:message-id :reply-to; bh=nYLXmgCubBsrRDUhi/QpnFPvZAoFTEge6+Bx4Yw06qI=; b=LCLDTa83cx4kiVv+GYDiXv60FpZRpwxODISvxsEFHj3NoEtnQNFNUj0LqoqgRs/hWn RwO4iDHZZoyWCvGHAInJY5wxae3U563BqNqVk+ZEQuiVAUsnwQmzyS+u8seiHUxNr+iD FfQboYa42ve6B5to0PwFQeuGhcj5QsUbLF9I8PpoPRaumVjxVw+nLtd8xbqHaSZ4WOI0 zwBqc2H1f3OX2YvR7tjHhGhZvL7zkvKwvzgPUq3UEYsX7yUXtGqRPAJ2TVCmWkjFJBIv dWRlTT9fxehqNgXv8 Original-Sender: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org X-Gm-Message-State: AOJu0Yy0Z3YaFeiBHZ7BMGaKrhcs2pMhri2O6/VvSTiRPrvNeLR9aiUw LJ+uRFP1bx681HVJu3zK5R0= X-Google-Smtp-Source: AGHT+IH+8DxSnytvr7x5uud1dcrpJABrIT8dVFb6f9aI3rTlZzsZbajgcIEePLuNIvg1jz6CzUko8w== X-Received: by 2002:a05:6e02:1054:b0:34f:c9b4:5f9c with SMTP id p20-20020a056e02105400b0034fc9b45f9cmr11847607ilj.31.1696301226914; Mon, 02 Oct 2023 19:47:06 -0700 (PDT) X-BeenThere: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Original-Received: by 2002:a92:9504:0:b0:352:86ec:b73b with SMTP id y4-20020a929504000000b0035286ecb73bls247280ilh.1.-pod-prod-07-us; Mon, 02 Oct 2023 19:47:03 -0700 (PDT) X-Received: by 2002:a05:6e02:1022:b0:350:f956:91c4 with SMTP id o2-20020a056e02102200b00350f95691c4mr14382166ilj.4.1696301223318; Mon, 02 Oct 2023 19:47:03 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1696301223; cv=none; d=google.com; s=arc-20160816; b=nGtPB2tvAP9ilbYyN11X/DNWExr9/JO+R5XdE/JoNbFrTUBjg6uwoxqCiNQ95FTjJG N7EkCQPbYGOMBMmgdV5vLX/pLcW3zkmz5ZGTxoh856XhTXL1MR/8HS33PAxeIJerHwYM Yvv6jiI+OE/2WGSKCqoJqmE1c7+XCUwrgqrZBGIVNZxVJnBsIZxGuDaDn4iQp+JQpMYn Elr3c8sSm2aUbH4X4kNkT+sVs6lsNYr1RdQ9zU+lxwKWRY7phKqkE/Kzsb5sh3HPW34q d0ykZBcP5FqbZnRX6ZDW8+SnfYIdpuR11W3qd1fty/YpuU0oSk+5VsDgP4qS5FL55fxG zORA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:mime-version:message-id:subject:to:from :date:feedback-id:dkim-signature:dkim-signature; bh=9mboKmBPHKjOgICja8CEKlL/AC+iUCgcup2z3wmWHY8=; fh=YpHxUVMpfccvw6TdOvRLIz04oMpY70yRB/4E5jqjCyo=; b=niinSlPH3EknbAmqvZfZYy5BjsPz2lgl8372rywTWrT+lobcs5i+zQVr5ion5c9C9s Wh1zvDPcDhw9sjhWoaxenADqRmRSeq6NTLE+By4HI2GKISqVIylPuta1MzzHpbLc+fi8 gE2aBSoFo0sQczoDUdC0B3jM3O9TOfTDWKFYw4CUp+6uHHqPj7GpX+818eHRjSbzsUfN tL+tfdPpCgXA4zNAO6XyfPsk4BeRugv3clhN/kruq6FLYvWij1qs+S4vPtMYDw1XU3Xh 54l3X1sT/oFuj0hB02pZjg1EWf3z0OWqhL4Jwjjfvv6LVHudDajtVkKne0N3vsfV3eKH CtIA== ARC-Authentication-Results: i=1; gmr-mx.google.com; dkim=pass header.i=@benghancock.com header.s=fm1 header.b=fF2CkbKq; dkim=pass header.i=@messagingengine.com header.s=fm2 header.b=Vt8dNtPT; spf=pass (google.com: domain of lists-2Dqnj5qYfKrvQC8VwISyQA@public.gmane.org designates 64.147.123.20 as permitted sender) smtp.mailfrom=lists-2Dqnj5qYfKrvQC8VwISyQA@public.gmane.org Original-Received: from wout4-smtp.messagingengine.com (wout4-smtp.messagingengine.com. [64.147.123.20]) by gmr-mx.google.com with ESMTPS id h26-20020a02b61a000000b004312fb02a61si24662jam.4.2023.10.02.19.47.02 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 02 Oct 2023 19:47:03 -0700 (PDT) Received-SPF: pass (google.com: domain of lists-2Dqnj5qYfKrvQC8VwISyQA@public.gmane.org designates 64.147.123.20 as permitted sender) client-ip=64.147.123.20; Original-Received: from compute3.internal (compute3.nyi.internal [10.202.2.43]) by mailout.west.internal (Postfix) with ESMTP id 7A41B3200A16 for ; Mon, 2 Oct 2023 22:47:01 -0400 (EDT) Original-Received: from mailfrontend1 ([10.202.2.162]) by compute3.internal (MEProxy); Mon, 02 Oct 2023 22:47:01 -0400 X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedvkedrfeefgddtkecutefuodetggdotefrodftvf curfhrohhfihhlvgemucfhrghsthforghilhdpqfgfvfdpuffrtefokffrpgfnqfghnecu uegrihhlohhuthemuceftddtnecunecujfgurhepfffhvffukffogggtgfesthejredtre dtvdenucfhrhhomhepuegvnhcujfgrnhgtohgtkhcuoehlihhsthhssegsvghnghhhrghn tghotghkrdgtohhmqeenucggtffrrghtthgvrhhnpeefvedttdejveeftdfgfffgjeefvd efhfdvvddtheeutdfhfeeuvdevfedvjeeileenucffohhmrghinhepfiefrdhorhhgnecu vehluhhsthgvrhfuihiivgeptdenucfrrghrrghmpehmrghilhhfrhhomheplhhishhtsh essggvnhhghhgrnhgtohgtkhdrtghomh X-ME-Proxy: Feedback-ID: iab814603:Fastmail Original-Received: by mail.messagingengine.com (Postfix) with ESMTPA for ; Mon, 2 Oct 2023 22:47:00 -0400 (EDT) X-Mailer: Claws Mail 4.1.1 (GTK 3.24.38; x86_64-redhat-linux-gnu) X-Original-Sender: lists-2Dqnj5qYfKrvQC8VwISyQA@public.gmane.org X-Original-Authentication-Results: gmr-mx.google.com; dkim=pass header.i=@benghancock.com header.s=fm1 header.b=fF2CkbKq; dkim=pass header.i=@messagingengine.com header.s=fm2 header.b=Vt8dNtPT; spf=pass (google.com: domain of lists-2Dqnj5qYfKrvQC8VwISyQA@public.gmane.org designates 64.147.123.20 as permitted sender) smtp.mailfrom=lists-2Dqnj5qYfKrvQC8VwISyQA@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:33145 Archived-At: Hi fellow pandoc users: I'm converting reStructuredText to HTML using the standalone option, and finding that setting the 'lang' metadata actually wraps the value of the field in HTML tags. Here's an example session: $ cat test.rst =========== A Test File =========== :Author: Myself :lang: en-US A Wonderful Chapter =================== In which I expound the virtues of reStructuredText ... $ pandoc -s -f rst -t html test.rst | head -n 2 $ pandoc --version pandoc 2.14.0.3 Note in particular the `

` tags in `lang="

en-US

" xml:lang="

en-US

">`. Nothing appears wrong with the template: $ pandoc -D html | head -n 2 ... and Markdown works fine: $ cat test.md --- title: A Test File lang: en-US --- ## A Wonderful Chapter In which I expound the virtues of Markdown ... $ pandoc -s test.md | head -n 2 Any ideas? Is this a known bug, or have I done something wrong? Cheers, - Ben