From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.text.pandoc/29798 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: christophe dervieux Newsgroups: gmane.text.pandoc Subject: line with only raw_attributes content still gets wrap in

: is this expected ? Date: Thu, 16 Dec 2021 01:59:17 -0800 (PST) Message-ID: Reply-To: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="----=_Part_672_1086978507.1639648757238" Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="23950"; mail-complaints-to="usenet@ciao.gmane.io" To: pandoc-discuss Original-X-From: pandoc-discuss+bncBDDJDKUZ7QORB5U35SGQMGQECLSU6VI-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Thu Dec 16 10:59:21 2021 Return-path: Envelope-to: gtp-pandoc-discuss@m.gmane-mx.org Original-Received: from mail-oo1-f57.google.com ([209.85.161.57]) by ciao.gmane.io with esmtps (TLS1.3:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.92) (envelope-from ) id 1mxnXk-00060r-W8 for gtp-pandoc-discuss@m.gmane-mx.org; Thu, 16 Dec 2021 10:59:21 +0100 Original-Received: by mail-oo1-f57.google.com with SMTP id v67-20020a4a5a46000000b002c9c5da9902sf16387819ooa.16 for ; Thu, 16 Dec 2021 01:59:20 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlegroups.com; s=20210112; h=sender:date:from:to:message-id:subject:mime-version :x-original-sender:reply-to:precedence:mailing-list:list-id :list-post:list-help:list-archive:list-subscribe:list-unsubscribe; bh=EGXASYSaUb6QIKxD3IN+THvMkU5iqx9mo1Abl04vSXQ=; b=XPeD5p4KzTBwMRlzvDrCuJzEPrq/rb/x6pihd8mga/ThWh9z2MTULhMeid927xVv5F 6zb/ovIkYejDrCSP+gL/VCk7MG4uRbZUsABdKi/2LuiKpaAdhGg+tWNzyw8QOiZQBWCa l3n75Krj/eXw9QmJfNzgBN3gXLZbqlq4WA+OG+Wj9RbErNMpbXK4x0+6ohVhhFKWeW1k wRPdYQKp40lu1VTUSb1GdpvCfqw7QnYzpOlU82FntRRFkK6O05DFycbeaqnxX6/aYAQV IJqGrpomxVeJ7ZOyDJvPFdhBRh17O22eY6hJeEkhi+gyzKjKYQR2M+90N3PKFNCw8s6U VXcg== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=date:from:to:message-id:subject:mime-version:x-original-sender :reply-to:precedence:mailing-list:list-id:list-post:list-help :list-archive:list-subscribe:list-unsubscribe; bh=EGXASYSaUb6QIKxD3IN+THvMkU5iqx9mo1Abl04vSXQ=; b=McE/aQvH5X7rZeVeSU/tn6A+R0/+5qCt/el5HiF6hRQXbVZD1zhBvgfMXKa/9xVtYp lIn/ixvOGjQ96vCTL0qFIk5dPs7Vfcw+3dMg5lH2/A34Ic24DCymyUddJJlW9neOl88d xqDj7YQeJu5em8NXl60hkAOVt1j568pGV7cFaXxl0ccKs+GaHA4XYLWDhhYIgpiorv4K LBwlZO6dcBrwbf2dH8bSvKJDkcelhnchDNuno4MZ+KKvfwZLPb4c+O99Lxwn1py6ZzPd G0o1kOkIUM+YMic1lwnG1BAGwa4mJ8kOrGRAG8AzRixJIzTBDevaqG1fHxPqZhPwNDxG 1ECw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=sender:x-gm-message-state:date:from:to:message-id:subject :mime-version:x-original-sender:reply-to:precedence:mailing-list :list-id:x-spam-checked-in-group:list-post:list-help:list-archive :list-subscribe:list-unsubscribe; bh=EGXASYSaUb6QIKxD3IN+THvMkU5iqx9mo1Abl04vSXQ=; b=MDin14+9MEYqBLKbkiWeBxeMxhhYgv4L158VH8Hy/4BEF2Rs+zbTwfeQtxs0rEpZN0 gVb/fR1M1BEkomjMJMMRTdI4rsTpNskHoSfOBami6ZBQRmi7dD7dRDz5CsaSD3HS/onU 7N86fuTEQ+4yJnQwyf2INA98Hy6KmM9kH33Rv/8ht+Vkig5ogUzklPICs9rZx0MQ14Ef eEHCdkMW9JOnbnEL2QgvMZKylTx2SoqySHsD5SI30O6+NLrscBozFqGUPzTWVsu3I4Ma SxKmGmX2qoeP7pNzt1aY57COuHk0JelqxFj2MuEVFsykQUv5pFJAr31O2wr7SHUrpO7p B8Vg== Original-Sender: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org X-Gm-Message-State: AOAM531m51Q+ZAb5xNJL05mVEZQJAoLf73vAVo1pRB8SWPuuvODW1F/Q 86SKH2VL9k2brrMBhvwqKiE= X-Google-Smtp-Source: ABdhPJzqHHWMr5Oz7HUU9JET9TSZhVwfgtAmU9dyzUn6IYxxxNyQC0K7kq4BKKxtOXwyuTAM6klFWA== X-Received: by 2002:a05:6808:144d:: with SMTP id x13mr3469130oiv.25.1639648759543; Thu, 16 Dec 2021 01:59:19 -0800 (PST) X-BeenThere: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Original-Received: by 2002:a05:6830:438e:: with SMTP id s14ls1182165otv.7.gmail; Thu, 16 Dec 2021 01:59:18 -0800 (PST) X-Received: by 2002:a05:6830:3185:: with SMTP id p5mr12342808ots.222.1639648757909; Thu, 16 Dec 2021 01:59:17 -0800 (PST) X-Original-Sender: christophe.dervieux-Re5JQEeQqe8AvxtiuMwx3w@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:29798 Archived-At: ------=_Part_672_1086978507.1639648757238 Content-Type: multipart/alternative; boundary="----=_Part_673_176411675.1639648757238" ------=_Part_673_176411675.1639648757238 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Hi,=20 I am not sure if this is expected behavior or not, so not sure to open an= =20 issue or a feature request.=20 Currently, with raw_attributes extentions, we can include raw HTML. When=20 using a one line we could use this form=20 Including an iframe=20 ``{=3Dhtml} Other content below However, this will be wrapped in

tag. Pandoc will produce=20

Including an iframe

<= /p>

Other content below

I would expect to have my HTML code preserved and not wrapped.=20 I know I could use=20 Including an iframe ```{=3Dhtml}

O= ther content below

Is this the expected way then ? Or should the former also no wrap when the= =20 all line is a content with raw_attributes Thanks =E2=80=8B --=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/fe4cbfa7-465e-4328-8bf3-3e1c178845ddn%40googlegroups.com. ------=_Part_673_176411675.1639648757238 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable

Hi,

I am not sure if this is exp= ected behavior or not, so not sure to open an issue or a feature request. <= /p>

Currently, with raw_attributes extentions, we can incl= ude raw HTML. When using a one line we could use this form

Including an iframe=20

`<iframe src=3D"https://example.org"></i=
frame>`{=3Dhtml}

Other content below

However, this will be wrappe= d in <p> tag. Pandoc = will produce

<p>Including an iframe</p>
<p><=
span class=3D"hljs-tag" style=3D"color: rgb(0, 0, 128); font-weight: normal=
;"><iframe src=3D"https://example=
.org"></iframe></p>
<p>O=
ther content below</p=
>

I would expect to have my HT= ML code preserved and not wrapped.

I know I could use

 Including an iframe  =20
```{=3Dhtml}
<=
iframe src=3D"https://example.org">=
</iframe>
```
 Other content below

to produce

<p>Including an iframe</p>
<iframe src=3D"https://exampl=
e.org"></iframe>
<p>O=
ther content below</p=
>

Is this the expected way the= n ? Or should the former also no wrap when the all line is a content with r= aw_attributes

Thanks

=E2=80=8B

--
You received this message because you are subscribed to the Google Groups &= quot;pandoc-discuss" group.
To unsubscribe from this group and stop receiving emails from it, send an e= mail to pand= oc-discuss+unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org.
To view this discussion on the web visit https://groups.google.com/d= /msgid/pandoc-discuss/fe4cbfa7-465e-4328-8bf3-3e1c178845ddn%40googlegroups.= com.
------=_Part_673_176411675.1639648757238-- ------=_Part_672_1086978507.1639648757238--