From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.text.pandoc/30021 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: John MacFarlane Newsgroups: gmane.text.pandoc Subject: Re: Reading a multi line yaml key - results in text surrounded in html

tags? Date: Thu, 20 Jan 2022 13:37:57 -0800 Message-ID: References: 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="26105"; mail-complaints-to="usenet@ciao.gmane.io" To: Russ , pandoc-discuss Original-X-From: pandoc-discuss+bncBCJZJHG45QDBBSNMU6HQMGQED54S6FY-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Thu Jan 20 22:38:20 2022 Return-path: Envelope-to: gtp-pandoc-discuss@m.gmane-mx.org Original-Received: from mail-oi1-f192.google.com ([209.85.167.192]) by ciao.gmane.io with esmtps (TLS1.3:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.92) (envelope-from ) id 1nAf8O-0006dm-F0 for gtp-pandoc-discuss@m.gmane-mx.org; Thu, 20 Jan 2022 22:38:20 +0100 Original-Received: by mail-oi1-f192.google.com with SMTP id v204-20020acaded5000000b002c896f409c4sf4540141oig.6 for ; Thu, 20 Jan 2022 13:38:20 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1642714699; cv=pass; d=google.com; s=arc-20160816; b=ttGIhcJEJ9CGTUdvC2PyD2QuMYe2dXMmxbYlJ68lg4phLsmGZEXNx121eyBOHGl7AE CIgzezpYRB3RDF637m5MGyiiLpyweCBiXrOdjR3H7H0e0qJU/+m1Lg83nF5erW1t7Lnr 7asn+WBKXL5teHG3UFFg9VOj9QM+J0IpAiiwKtP7vHedM3RiELTcZhNAl1D3B6fT26o8 tnRw5ineX06VnwiPIpX1hYYwKYtD3W6Utkw0sVsbTRlmWu9Wf8sRLUuUEtGS63CODNf+ rVsf47i1DYbUlz+U16XC0l6/NFAnwFK3Z8NVlPwwkrBe4EbndfYarle4TNindYpDyJ12 ct+Q== 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 :date:references:in-reply-to:subject:to:from:sender:dkim-signature; bh=k4pSsxBzBERelrGAfRRqy5yIKL0TrFp6cBIBdOK1+Hk=; b=jS+80JyUKPNKj4E15ThSPcPrVKq7fqPqdJsml6w8aZg2D5Pb0BLpRk2tYm8qkKCCuj H93kbQwqGlmbu9Se/ciRpmMTRVQaiMu28zev537F++z4eMFKgUCP3OdWOuLtPWa9/UQB hvfB+vgyMNykvlrvZMlySTa1umL8tQw3OpKVQIF1zblF4n0mmm/zqK+j4faESTB9IIaG IE3o23+AKmf6/TgrwiBCHBd/aZOdnt8XlVOpRpHPftLo6iZbEhBk0UeaYzmPGThkUlg7 vwkMImYlV4th6M8k6KJIP75mK69h8RDkgTcxE6YsIQEyepm/TwHuLPjl+1xgUv5b8Toq Rr+A== ARC-Authentication-Results: i=2; gmr-mx.google.com; dkim=pass header.i=@berkeley-edu.20210112.gappssmtp.com header.s=20210112 header.b=XW24qniS; spf=pass (google.com: domain of jgm-TVLZxgkOlNX2fBVCVOL8/A@public.gmane.org designates 2607:f8b0:4864:20::62d 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=20210112; h=sender:from:to:subject:in-reply-to:references:date:message-id :mime-version: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=k4pSsxBzBERelrGAfRRqy5yIKL0TrFp6cBIBdOK1+Hk=; b=bMYkuMfRXmQ3WWLRZrccF5WDDlrSS44R39K5MO2tm8qNxXfaWU+h/0mZAVyT8YQLvu W3qIbQBGITTLmEbdT/aj1vg195dDAOtLByvOSQuo/Rk+b1/s83tj5djofpypWEwielh0 gcDs+7nD2Ve5S7S2jkVlyJTISFA7dV/4fiyB7R9p4qs5qc75cFbDFFT8vFVuWyV90ASi jeizIwDUt2NH9bQoCmEB90D6pG8WSU3+hj/TQkzfojZq88MTC2hbNIx3Ax2YuZ1WpcFM YVph7DALc4Scheue0M1Upbeqj8MlqWkZhHuZOw3sKamBf7HoookeSt2ZEhC7ZaR3J0hg 8PMg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=sender:x-gm-message-state:from:to:subject:in-reply-to:references :date:message-id:mime-version: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=k4pSsxBzBERelrGAfRRqy5yIKL0TrFp6cBIBdOK1+Hk=; b=s/raEsqIx2liKMnK/nDW6iKBowvPtnq1FGo4GJDMssK9+YUA7RqBgX1b4r+09IobfH Xbxu7fprirbQ+iC/5f0IHWL4D3YUNE+LveGfxX93/L3TfcHhTVYJb2TxZl0c0dzG4UJO DZ0T3RUGCg5DuEUAQPVXQul/igvuQBrZN9iUZm6Jl1ijyukEzGvJAniGASRBYowQzBJx lGPj2t9COV+UHv5T9XT9RmvroIqHMOHvGd7CHSifpr+wPiAB9ntA6lXOdc67d5wTYi5d j1Qz4ZLsfLdMkhNv8NfuZk+Pg7hQFrDrz6/T4SsGIrl0yIFaHwavURfXsB5iLPpuCrzU DtcQ== Original-Sender: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org X-Gm-Message-State: AOAM533Z2LyykeUaET2fTib970o2LUVgClkoO1yNxffLSb9VU0XCW8Gv qSoPVfjFPo7RDI6s3Kr/6Xk= X-Google-Smtp-Source: ABdhPJzr/90tTtmobeBPpVVF/EzE/S/Jv/0eZqea7L0q0BY566ZAxh7npC8eiNticUEQW5DIGgu09A== X-Received: by 2002:a9d:37a2:: with SMTP id x31mr557674otb.51.1642714699294; Thu, 20 Jan 2022 13:38:19 -0800 (PST) X-BeenThere: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Original-Received: by 2002:a05:6808:199c:: with SMTP id bj28ls2238845oib.0.gmail; Thu, 20 Jan 2022 13:38:16 -0800 (PST) X-Received: by 2002:aca:1008:: with SMTP id 8mr786651oiq.52.1642714696758; Thu, 20 Jan 2022 13:38:16 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1642714696; cv=none; d=google.com; s=arc-20160816; b=QyfBoWdRCakrc+N2zlViDDAk2rPD/dyilDHOvSsT1K/xTljda5DsN1U5EH0gUGOtpv vuGgoVThZ+fZ0OaSVeOKpRCYlzXalGVnP4pv5E8QCkZdJhb9b7ecONTJeHvA9f2zyiAY 9MV6ijd8tlD0rG5vBKL1JM3GEeNBUCXcc3ewIBJTvqGtnC+zGjBGuqej5ie8QLivhxNX 1t+wx9InRazVnaE0Thyl5hvEcgvaXHBS/BPqCi7NqS7QpJ4UMtzE044H4krRQ5BKon+Y uJQDIbdfZ1hrnvYFHac3Vc84YVrODScioRxo/qnXch4WmSXStMm2Lgc+EqMwiMRHH1i/ ZB3g== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=mime-version:message-id:date:references:in-reply-to:subject:to:from :dkim-signature; bh=hgGplaC3IIzGB5P8+uZwB2+JiMhytCr2lTg2uWJdCE0=; b=gV+DTpetc7yMriOoYY9bkRSCQrOI2dA07K3VK9ZNZYSlMwmMUs+at76iksMRM/NJkT WFneKXIeyqGufvUKj1nOfN7X1XB5LYd1fTHASeLZXe3uACepUQ3Vb/BH1PdsdFQ4qvum rJ0RiiQWJHuWzgjTDuM+gGoSWv0uEkQV2pXwi0OjE5XyTYBhocfkx1jBQMhckrhGlsss Q7F8ZkhlK3MyrIHkwqsyHh6VgFPo6G2bmuwSE3uaktUKZYUNsT43KK2uk3x09XLH5SSp 7Be8Bl4ykhp0JGeN1bk3g2HUEtG+TQji3hftnwYD9pqWRljFxkoToRP2v8YXAA+d8i5X ujaA== ARC-Authentication-Results: i=1; gmr-mx.google.com; dkim=pass header.i=@berkeley-edu.20210112.gappssmtp.com header.s=20210112 header.b=XW24qniS; spf=pass (google.com: domain of jgm-TVLZxgkOlNX2fBVCVOL8/A@public.gmane.org designates 2607:f8b0:4864:20::62d as permitted sender) smtp.mailfrom=jgm-TVLZxgkOlNX2fBVCVOL8/A@public.gmane.org Original-Received: from mail-pl1-x62d.google.com (mail-pl1-x62d.google.com. [2607:f8b0:4864:20::62d]) by gmr-mx.google.com with ESMTPS id t3si20740otc.2.2022.01.20.13.38.16 for (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Thu, 20 Jan 2022 13:38:16 -0800 (PST) Received-SPF: pass (google.com: domain of jgm-TVLZxgkOlNX2fBVCVOL8/A@public.gmane.org designates 2607:f8b0:4864:20::62d as permitted sender) client-ip=2607:f8b0:4864:20::62d; Original-Received: by mail-pl1-x62d.google.com with SMTP id x11so669479plg.6 for ; Thu, 20 Jan 2022 13:38:16 -0800 (PST) X-Received: by 2002:a17:902:da8a:b0:14a:92fc:1037 with SMTP id j10-20020a170902da8a00b0014a92fc1037mr1043550plx.13.1642714695415; Thu, 20 Jan 2022 13:38:15 -0800 (PST) Original-Received: from johnmacfarlane.net (li55-134.members.linode.com. [74.82.3.134]) by smtp.gmail.com with ESMTPSA id 189sm4031887pfe.164.2022.01.20.13.38.14 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 20 Jan 2022 13:38:14 -0800 (PST) Original-Received: by johnmacfarlane.net (Postfix, from userid 1000) id CD953A29D; Thu, 20 Jan 2022 16:38:03 -0500 (EST) In-Reply-To: X-Original-Sender: jgm-TVLZxgkOlNX2fBVCVOL8/A@public.gmane.org X-Original-Authentication-Results: gmr-mx.google.com; dkim=pass header.i=@berkeley-edu.20210112.gappssmtp.com header.s=20210112 header.b=XW24qniS; spf=pass (google.com: domain of jgm-TVLZxgkOlNX2fBVCVOL8/A@public.gmane.org designates 2607:f8b0:4864:20::62d 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.io gmane.text.pandoc:30021 Archived-At: It has worked this way for a long time, hasn't it? % pandoc -t native -s --- foo: | multiline bar: one line ... Pandoc Meta { unMeta = fromList [ ( "bar" , MetaInlines [ Str "one" , Space , Str "line" ] ) , ( "foo" , MetaBlocks [ Para [ Str "multiline" ] ] ) ] } [] Mulitline content getns parsed as blocks, single-line as inlines. Russ writes: > pandoc 2.17.0.1 > Reading a multi line YAML front matter and outputing the text now gets a > text string with html

tags. > > For example > ```yaml > volume: | Volume 16: A Subtitle ``` > Should produce: > "Volume 16: A Subtitle" > > But now produces: > "

Volume 16: A Subtitle

" > > Is there a way to avoid these html tags or is it a bug? I cannot say for > sure that this has changed in this specific version, but it is certainly > quite a recent change. > > -- > 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 view this discussion on the web visit https://groups.google.com/d/msgid/pandoc-discuss/e17cd72d-2900-476c-a945-77d9e2e722bcn%40googlegroups.com.