From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.text.pandoc/30022 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:41:17 -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="3622"; mail-complaints-to="usenet@ciao.gmane.io" To: Russ , pandoc-discuss Original-X-From: pandoc-discuss+bncBCJZJHG45QDBBL5OU6HQMGQEUUGQNTA-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Thu Jan 20 22:42:12 2022 Return-path: Envelope-to: gtp-pandoc-discuss@m.gmane-mx.org Original-Received: from mail-qv1-f55.google.com ([209.85.219.55]) by ciao.gmane.io with esmtps (TLS1.3:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.92) (envelope-from ) id 1nAfC6-0000lx-Hm for gtp-pandoc-discuss@m.gmane-mx.org; Thu, 20 Jan 2022 22:42:10 +0100 Original-Received: by mail-qv1-f55.google.com with SMTP id eq3-20020ad45963000000b0041bc4662cc7sf7544958qvb.22 for ; Thu, 20 Jan 2022 13:42:10 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1642714929; cv=pass; d=google.com; s=arc-20160816; b=tEqRRXapMIJZBLNsFFNpJnyyNh5YPgio+Ps0COLhEDGK0gfe4/tYZpUjWQGQgKGdvW YWZHx7HuyhTjqD2oj38L11VCRj8Ts5O4ap4ZHNO1bbrWKH+P8uh06LbtTu5pqgH2JDSy 2bI7sMGRHMbrbrqtrGNRh9Po5PCJwIzrc2agdFuCdzTAW0l9xMUfDPBSbvfGHY85uLub KposnmOb4L0v7qBC5glsss9FwEUVAh4RPS9PnEmnxgmUrp5h27pqGBO5Xv5SkJ3V9Hwe 0xye0TpzQap+CgYdkrMWYGuaFgdh+blH2Cf3V+yc8+6kJWTIODp/ugNXbwZla46heWGn RvHQ== 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=Zn840STEjTrPGs/Iz4EIAilR7Bs6PLk2YvpeKwlEnUU=; b=WyUCzcaxa3RqF0Jf+yiEzzFdEw4N07lrL7obXfHNLvQqMyooUjb+SnDYeJwQDFfxHH GG/b5Pb8iAmF0Kl2EBUDR4Hlxmcd9JBknohazg4cQGNUj6VG5zv1Txt1imuJTK6BXDHu cxuI7TpuXoOdvlNWSU8zdt3qTf02BNZmHhcZyX832oLCpaDFLc6Zb20EPVbp+/+PHbxe g2D3shHtJdWEHhKEhYSauhTMJhfkkyUM5oD815VrrGjl17c+uA6XnPnihlKjUnaMOVox 8OUO3dGdPJGBq92hwtExZdfStemyEhUaPQbJcECU98F8P9vVCJuPtTtQf/NCte9CbYPV wDqg== ARC-Authentication-Results: i=2; gmr-mx.google.com; dkim=pass header.i=@berkeley-edu.20210112.gappssmtp.com header.s=20210112 header.b=b0hf2Ixp; spf=pass (google.com: domain of jgm-TVLZxgkOlNX2fBVCVOL8/A@public.gmane.org designates 2607:f8b0:4864:20::102e 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=Zn840STEjTrPGs/Iz4EIAilR7Bs6PLk2YvpeKwlEnUU=; b=TKSH5RsuzrBQIvIiHH+IJVqW6e+UDBCRbfG/g7N3U7b+knTlRvfPa3h19NuH2hEu4B Y/IzHyztLmULl2aoDGug4vWOfvXkilmG95FlwqJehnM5mkg7hhIsu4pGdg2tCryF4Vf6 c6qeLDMwDHlK09XITzJsvxDonpq64vGCtUZoCxPyyDzPR70LN9a62KPuk+nreEjv5cSg iva78k6DT+/6UO6EttKags72skhJAeRlfJUXwfgAnmWvith6O3Y149bHfNbuPtw8Wq96 Op+OnnzYUzX18OWGdC13DXF61rKEL4rO6bUBuPN4bUG07orGHuUw74iAJ7CmzwqwTONs eWHA== 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=Zn840STEjTrPGs/Iz4EIAilR7Bs6PLk2YvpeKwlEnUU=; b=clTT3+QqaTejdZ4mb8VSuDgeAxics5vYmKsjZLFky4AipXCFcPxf5ryetaKCuuPBG9 3+agDPcQFWa8MwGmJYNen5gO/L73vLbhakARoHzyisGoviAWJokUSMEi2njQaobBE9ly g39gAcJLkejqK8pamITyMEMFOKcwC+J/wkXSPG4II9mZ5buy/+DZqByTW2zaKspe0QI1 W2+3UORp7YHL/ovF90wiAkvhaYR7Z3qKlsLx6DTseWpIiWNe3nfzKxWbtR6XtoM7vkND YwOff0oGoX2Ld50DtY6LrWbG9kztVurf6pxP1fWe/Sg6Xe/QfArUKACI1vSs98pIQIA+ 4ddg== Original-Sender: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org X-Gm-Message-State: AOAM533ax9dBKZqawJYheU+NshPJvU7KI6nLBSjKENkvQcZLoE30vqJK SteXOhjeCDu+4ny+18NQPkk= X-Google-Smtp-Source: ABdhPJzArAOnad5hjslNrMEo5LO9qkoVJrloRtPXVwT1pm443SVbz8weHUrXTOAHOtggvXqRAovmDQ== X-Received: by 2002:a05:6214:c69:: with SMTP id t9mr988823qvj.100.1642714929592; Thu, 20 Jan 2022 13:42:09 -0800 (PST) X-BeenThere: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Original-Received: by 2002:a05:620a:13f9:: with SMTP id h25ls3702955qkl.10.gmail; Thu, 20 Jan 2022 13:42:07 -0800 (PST) X-Received: by 2002:ae9:eb8b:: with SMTP id b133mr691218qkg.418.1642714927168; Thu, 20 Jan 2022 13:42:07 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1642714927; cv=none; d=google.com; s=arc-20160816; b=d0Wu8eL6oD6ZsBRBsIe/ep2pIgRwvv26sjiWksJiCUv+tENEtWRjnkbiqgJR2BYeNw lq7IJnCS6ZNXJVZzVWBKeN38WoLPrY4XQUOAQF77E8dDBAKAzIlb4k9y5UABbbK5Dx9j OdlH6miGKTm1LHzvg225w6Oij5Xpaefk/J69zFSI7eZuDWjU55DBXRjPdCbwBJJ/p6hC u9lpFlChJ7w08xiWnQ/oyLI7d3zbcR0yflSx8rEJU3BxI2ItEXsgq/53GuilCzwiGqyK iEEhMAcj1FhC0DPIxoob8D0JBHGumd7B7khUdQwaaonAWYl0ZF5TDjctvCh676d+QC6I TbNA== 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=e1xIEWdQEEJiOm2ajdNKZI1n5o1zK/YjVXUR9TC3S7M=; b=ukbJsD20LN9QECXq7nif2rgaSrEdtMHPIc4Bqgi6tAxi293cK2YcosiIiCI9rtZs64 Gb1cQsq/lt6Gj+y45xZ8AdA88j1El40l1Oxbi9s3FY5OvIfJIqhSoe9ASCFkf8mUi6LT NMBZw9QLe6KVFE0uUne6YEdRQxo6HSiTAVotHFKwF2CvlkG0/NvPK0szU1u1jH5lbd3j G/lFwmI3MlvJJ+F2FWVJighXxQ5sUJDjfsKOl1YOvIdiWMImRWSXq5V7d6gHnOMAYSlR GyzjcVjeZGuwHK2/MRPvRNPFVVUeryUGhBsmI2SAtirQV+nk+cC14KPjec5P7zim9Fin d9GQ== ARC-Authentication-Results: i=1; gmr-mx.google.com; dkim=pass header.i=@berkeley-edu.20210112.gappssmtp.com header.s=20210112 header.b=b0hf2Ixp; spf=pass (google.com: domain of jgm-TVLZxgkOlNX2fBVCVOL8/A@public.gmane.org designates 2607:f8b0:4864:20::102e as permitted sender) smtp.mailfrom=jgm-TVLZxgkOlNX2fBVCVOL8/A@public.gmane.org Original-Received: from mail-pj1-x102e.google.com (mail-pj1-x102e.google.com. [2607:f8b0:4864:20::102e]) by gmr-mx.google.com with ESMTPS id n12si477554qkp.3.2022.01.20.13.42.07 for (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Thu, 20 Jan 2022 13:42:07 -0800 (PST) Received-SPF: pass (google.com: domain of jgm-TVLZxgkOlNX2fBVCVOL8/A@public.gmane.org designates 2607:f8b0:4864:20::102e as permitted sender) client-ip=2607:f8b0:4864:20::102e; Original-Received: by mail-pj1-x102e.google.com with SMTP id n16-20020a17090a091000b001b46196d572so7147483pjn.5 for ; Thu, 20 Jan 2022 13:42:07 -0800 (PST) X-Received: by 2002:a17:90a:294f:: with SMTP id x15mr13214216pjf.136.1642714925684; Thu, 20 Jan 2022 13:42:05 -0800 (PST) Original-Received: from johnmacfarlane.net (li55-134.members.linode.com. [74.82.3.134]) by smtp.gmail.com with ESMTPSA id k5sm4495943pfc.85.2022.01.20.13.42.04 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 20 Jan 2022 13:42:04 -0800 (PST) Original-Received: by johnmacfarlane.net (Postfix, from userid 1000) id 15754A29D; Thu, 20 Jan 2022 16:41:24 -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=b0hf2Ixp; spf=pass (google.com: domain of jgm-TVLZxgkOlNX2fBVCVOL8/A@public.gmane.org designates 2607:f8b0:4864:20::102e 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:30022 Archived-At: One workaround is to use a Lua filter that applies pandoc.utils.stringify to the contents of the 'volume' field in metadata. 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.