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

tags? Date: Fri, 21 Jan 2022 11:27:06 +0100 Message-ID: <87zgnpl6wc.fsf@zeitkraut.de> 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="8906"; mail-complaints-to="usenet@ciao.gmane.io" To: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Original-X-From: pandoc-discuss+bncBCZJF7XJTILRBWUVVKHQMGQE4CVV4SA-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Fri Jan 21 11:28:46 2022 Return-path: Envelope-to: gtp-pandoc-discuss@m.gmane-mx.org Original-Received: from mail-lf1-f58.google.com ([209.85.167.58]) by ciao.gmane.io with esmtps (TLS1.3:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.92) (envelope-from ) id 1nAr9x-00028M-Vi for gtp-pandoc-discuss@m.gmane-mx.org; Fri, 21 Jan 2022 11:28:46 +0100 Original-Received: by mail-lf1-f58.google.com with SMTP id f10-20020a0565123b0a00b00430a73a67f0sf5737335lfv.14 for ; Fri, 21 Jan 2022 02:28:45 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1642760925; cv=pass; d=google.com; s=arc-20160816; b=MjNctQ34wlUHgnkE713jNOZ6+RyU4HKr1dS58TO/dn+TuLJ6YmqiyqxnY9CD7qk+g+ KtPAaYpIADiZYNAJNnd4usj3J2aLkwayZ89ni5bdKSmWu1UolM27rlfipespgpkNam7N 9afhEVh+cCL+4w+EnNDvmzKWRgpTlogECM+Hs1JfnlGb04dScEwlIVUlqRAucLv/AN5U N5nZJXZabfeK2ujYIsVcskLEQcuCcpO5/aR8T315VRBD2OuQCS/gr98nUXjZZ63GSrX5 5QgIbf4T6R+hjpsMliLt+3lImkYVnER0zCFxbXmkodg6x0d4Nsy7iCQZJexuAdj9X+Xm 7xZQ== 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 :in-reply-to:date:subject:to:from:references:sender:dkim-signature; bh=a+oTvKkjAL+Zn+onMgerYG1UsCXhiWq+dxMN4z2LO88=; b=X2nSWO/stwHk4/g9uuSDgls6fagtiv7mubAtCBjrm+ylbxRIR02jTTIdU9SrlMLKCT R9fvJPj5oxwLY3YJym+TLp5pgCLmxFpRoa143niJS99nk+KKLEzjOjTTvoh2DpvFBuwO LgA3XapA4tQ5JXf1J4fYBakDx6fdc+ltdnZasyD0k1NuvlL2XYys4/f/ycVO+sxQBH2I kz8BPA4DwOLGVOKZSKc48ak8s4KGifDT62KuEVgE6VRixM0SB9cUyNd8wvCUXJ0iXJEz mbKDXV/tMaWTuek3KZ4P+eN5YUe15PT01LRHFwbVDNSIGDeZvCJ9V/4wjjpsD8/D2WbB Gfcg== ARC-Authentication-Results: i=2; gmr-mx.google.com; spf=pass (google.com: domain of albert+pandoc-9EawChwDxG8hFhg+JK9F0w@public.gmane.org designates 80.241.56.171 as permitted sender) smtp.mailfrom=albert+pandoc-9EawChwDxG8hFhg+JK9F0w@public.gmane.org DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlegroups.com; s=20210112; h=sender:references:from:to:subject:date:in-reply-to: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=a+oTvKkjAL+Zn+onMgerYG1UsCXhiWq+dxMN4z2LO88=; b=kOPdCeoNayzCcZktA/9QxKJ2BEnUseNt4w1Sp7R+T7uuo/7mpuA7O2DQBe+WW+Y19R p8O/s6Fx0HfIJ3EQLaDG9yXubVpTpHYkOvoxGxr4OVdKnTrFYgq4p47NvFsvt9+4o1Hp Nn4S2gujJ4jyXI/TK3eTtIqBtlkmwLKh4azIM7PmuGdpFTOEGWdZzikNyQ27343tuz3T maZDo6Qjq8mKqJilqLaBW9JWTR7BPkIF5nX4yFghRv9jsxgeH1kGGys5n5+F7mvxoXBF cT42VgNXIDsfhYZ6FB9gPziVcz/B76eolv1Cp5guOzNEl+NE133rT6PKd39a8f2mJWci imrg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=sender:x-gm-message-state:references:from:to:subject:date :in-reply-to: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=a+oTvKkjAL+Zn+onMgerYG1UsCXhiWq+dxMN4z2LO88=; b=8Eptm1yFpqAA8uPQmxBoB++++ujfFr725nsFE+y7FnbRg8j07Ad7XwQcUa6H4j1IYv Tvm4jTuatDBCNVZZ0DZE5Ok47VL8bXCEO3rMrSCMbmu/V04fRakCQ/WJc3/XqvZ51o8p CrmrJ6PHvx3LVOBRt6DSydQ/tF7rmDphYg4GSDtRv6Eflw7zdzrj7ic/cSpQt0tKjOhO ZCZUCi+nIoIZy1BCSlVsdKzAbW/ejz5jRcz83B4H2HE08dbs7JIUNno4hV+KGruwqqhq Y/OrPSqmjUEmRRlVEEHddA/wERs07UX1BISeuGrPdWhLU7fPESyLquKP9WengHCPoGNj YUNA== Original-Sender: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org X-Gm-Message-State: AOAM531EGojFMSOKREJ6mJe4apfDs6RpzFaJtuGynhQ/AJ6cIbPBQIpd FtadepyNPYKBulJ44gFaRjM= X-Google-Smtp-Source: ABdhPJxbxbizx2i6T2lUbIqu54c8QIVI2Ihs5TFlPqIWjPBM43G8I+nq4zHZT56xKyGhSF/BzFiW4w== X-Received: by 2002:a05:6512:3445:: with SMTP id j5mr3209748lfr.30.1642760925413; Fri, 21 Jan 2022 02:28:45 -0800 (PST) X-BeenThere: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Original-Received: by 2002:a2e:bc1f:: with SMTP id b31ls1335606ljf.3.gmail; Fri, 21 Jan 2022 02:28:41 -0800 (PST) X-Received: by 2002:a05:651c:1506:: with SMTP id e6mr2747188ljf.269.1642760921493; Fri, 21 Jan 2022 02:28:41 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1642760921; cv=none; d=google.com; s=arc-20160816; b=f0Vk0GhK3yPjqw06k47aBw5iKd1t2noNTYFAYXNJMIPQ94ogezuIulZMsGeY2Th2m0 hjkSTwCSnggFurVsFB/ARUhi/FMrcclTfOj5MRZi8B+luuKWxFu6UW3pZiYCll7a7dBX lyJ43KnU0kAtELt6UmcWwiaZXPk2oitZHd0f11Lv9fcJGcJIZUPyYyev0eeFA26eMMJv 523ASOZIxU9PAzh6YDjJlyBZLkTm7tDLuV7P/XGuAA5QP55QvuuKsRnlC1LnluS41t9U /uxVJtBFthvC3og+dM9LhAOAHvcMesAtPO4X6rpZiPo8GHipkE4P5o5oRpm/rpTW94r0 5VQw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=mime-version:message-id:in-reply-to:date:subject:to:from:references; bh=y+zzPUUf82oLtgNoMJM0Cc+sFrbHx7n60cxabJyjNwE=; b=Y4k5rB1/CJigwVmYdN83qNmnGH2oOcCFFDlSlUKIf/5Ea2jgcJZZMXpvosHV/9Sl9E Tl5UTOuquNjf9dWE/omNNEwijA8ztq162dRYT//CGJLO4GsuSeOKOAAOEFZHHtKOBcmF QajkUVdtr7pOn0dtPB1N9cHZ515cHnSIfXK6BLZDwxTmVX8WxKHWnOoUBTuAUY2F2DHm CLPzdNGyJtV26ZFZPICHYYdl5dZRZRfxK/2fFEpJbgrOqcvXElw+lxAkloAia4PoEIN0 TdnC8rQY7pcg8m3XptUI3vCyl7Ldg66kHBHBKlC2Q6R+qkj04d6icPCc/iJW/SIKmbag L9BQ== ARC-Authentication-Results: i=1; gmr-mx.google.com; spf=pass (google.com: domain of albert+pandoc-9EawChwDxG8hFhg+JK9F0w@public.gmane.org designates 80.241.56.171 as permitted sender) smtp.mailfrom=albert+pandoc-9EawChwDxG8hFhg+JK9F0w@public.gmane.org Original-Received: from mout-p-201.mailbox.org (mout-p-201.mailbox.org. [80.241.56.171]) by gmr-mx.google.com with ESMTPS id u2si70250lfq.10.2022.01.21.02.28.41 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 21 Jan 2022 02:28:41 -0800 (PST) Received-SPF: pass (google.com: domain of albert+pandoc-9EawChwDxG8hFhg+JK9F0w@public.gmane.org designates 80.241.56.171 as permitted sender) client-ip=80.241.56.171; Original-Received: from smtp102.mailbox.org (smtp102.mailbox.org [80.241.60.233]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange ECDHE (P-384) server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by mout-p-201.mailbox.org (Postfix) with ESMTPS id 4JgFw83ZQrz9smQ for ; Fri, 21 Jan 2022 11:28:40 +0100 (CET) X-Virus-Scanned: amavisd-new at heinlein-support.de In-reply-to: X-Original-Sender: albert+pandoc-9EawChwDxG8hFhg+JK9F0w@public.gmane.org X-Original-Authentication-Results: gmr-mx.google.com; spf=pass (google.com: domain of albert+pandoc-9EawChwDxG8hFhg+JK9F0w@public.gmane.org designates 80.241.56.171 as permitted sender) smtp.mailfrom=albert+pandoc-9EawChwDxG8hFhg+JK9F0w@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:30027 Archived-At: There's also the option to use `>-` instead of `|`. It works almost the same as `|`, but removes all line breaks (including the final one). BPJ writes: > Or if needed use single quotes around the value to protect punctuation > marks, noting that to include a single quote in a YAML single-quoted > string you use two single quotes, as in `'don''t'`. > > Den tors 20 jan. 2022 22:42John MacFarlane skrev: > > 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. > -- > 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/yh480ksfti2igy.fsf% > 40johnmacfarlane.net. > > -- > 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/CADAJKhBEViWZsLRRtAr78 > yn3Q3fSZswg85vut21vkrpfsvszXQ%40mail.gmail.com. -- Albert Krewinkel GPG: 8eed e3e2 e8c5 6f18 81fe e836 388d c0b2 1f63 1124