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

: is this expected ? Date: Thu, 16 Dec 2021 10:12:35 -0500 Message-ID: <0f498ce5-eac5-b101-d1c9-08f42c3c0359@usa.net> References: Reply-To: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="UTF-8"; format=flowed Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="12831"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:91.0) Gecko/20100101 Thunderbird/91.4.0 To: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Original-X-From: pandoc-discuss+bncBCGYLPE23UARBZFO5WGQMGQECTENKAQ-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Thu Dec 16 16:12:39 2021 Return-path: Envelope-to: gtp-pandoc-discuss@m.gmane-mx.org Original-Received: from mail-oo1-f59.google.com ([209.85.161.59]) by ciao.gmane.io with esmtps (TLS1.3:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.92) (envelope-from ) id 1mxsQw-0003BH-UN for gtp-pandoc-discuss@m.gmane-mx.org; Thu, 16 Dec 2021 16:12:38 +0100 Original-Received: by mail-oo1-f59.google.com with SMTP id 68-20020a4a0347000000b002c2ac2c476dsf16817086ooi.21 for ; Thu, 16 Dec 2021 07:12:38 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1639667558; cv=pass; d=google.com; s=arc-20160816; b=XfXPYBo2Kju3GMAsXXpQAEZpGRpn9ZYTH1DaRsaRDlgZ4QM/0XvLqIuOEunXTdW3KA B81NAAM+ozLKSeQSKAM1OkI/mbgPEuqLRKBciHSBAyQ/bc42k+Or4Y3UTzhIb5fPpUXY llCLx/rBJ8V3sQ36dSEO3SNzxMzqvGDxG+8kbinHlyGSXLWvQlIJx4WRnoe8l2I35QNm Y5x74sWL2yupQM4EHQ/eFfVNoTNjT1BspbxDjyH7hhDOtyuUGTw9ATCk2XMY2WLi+9za fI/LcUEN6KacwS4E4L/Iq/eqx68wJH+4adHCLWkvLzfhk0tXwsijapkqILZAkA6eafH9 kqKw== 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:in-reply-to:from :references:to:content-language:subject:user-agent:mime-version:date :message-id:sender:dkim-signature; bh=I3ZSsXDv3SNyTBG/b5r2oo3oXQt+bD92RQJ3c3BpDuc=; b=jZN5z7lr5RfRdD712rj6aop93uAyjxKh95iDwMgfbeHWAtEIfYHH6aQ9YOSxIyJ6aJ 3PfEhWtmis2wewf46AGiRhl3apkwyJJRm25KZ92SbVqx48pC13optEBlCF1hR0ealoWp fLdG95xP9fM30ubZnUmWb+FG+J4HBmXgbJ+dIrUOgq0mcK8E8WxsewR7nTwvJ4qQajVx RNBW+xTTTJnjExBoasZOJmxHEPQGJ5hvG8Zh6n7YenwOM5mbvlqnvOqLY2Y6ohRFa4aT te1ApZNOACzdqAQZQWlHFweciukZ5WuXBahXv69fegevw14USw009SP1oA1ULli8ffbs bTyQ== ARC-Authentication-Results: i=2; gmr-mx.google.com; spf=neutral (google.com: 71.191.170.84 is neither permitted nor denied by domain of dstaal-Jdbf3xiKgS8@public.gmane.org) smtp.mailfrom=DStaal-Jdbf3xiKgS8@public.gmane.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=usa.net DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlegroups.com; s=20210112; h=sender:message-id:date:mime-version:user-agent:subject :content-language:to:references:from:in-reply-to: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=I3ZSsXDv3SNyTBG/b5r2oo3oXQt+bD92RQJ3c3BpDuc=; b=V40eLTp8kHCCVlUJEWrG/mwr80Zd74zq6mzTdVZCX5YT7RN0PJnsfaaOo2x+0l0iCo DA5imQ7i89Aa0erGiCCs0YZaXVOOooMRxX3qymRFNtI1DjX0FmQCRD51eGKPBcPKMzFc +8Q9hb/vcJqFuVSEYnKDwd/0JB8De2XACJ+rJJ6EgwL6ubYQ2V0UKkhEyEWPRBS4eHg2 4+//Zx0KXq7Rqu5TZmYBIpdZMKHEgUljyM/u5dLO2H93c8uQL3u6Zf5P22HtWdafZCX1 6WSsR/l2KVj0cSiGtCTqgEhfArrj6cgROhhg0mJHz+7wIhbl1xzJpWvr3hsced/IkslM Gn9g== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=sender:x-gm-message-state:message-id:date:mime-version:user-agent :subject:content-language:to:references:from:in-reply-to :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=I3ZSsXDv3SNyTBG/b5r2oo3oXQt+bD92RQJ3c3BpDuc=; b=OIEcOjWX9hFP7RCokRjqswPNEeEPwpR9qVf6EF0aqb6tCahgxbtr70BmWyxoXD5puf LBVCdTZY2WlETBOUWpZyA/MRvgtdagiWWkKC8KJtj0aeLFNBf6fXERXI5577VEiIWeEA DUnoaAFlo3n28VUGnu+L4QCmxqKKNcPjvb0REmMhArOtuxRVwxZ1rTiCu8Ni3fTe1/dk 9TAsqfRVRRuuksB3NGEeLQfclI8B87WlYbw4PZe0R3rLpzn+WWKuqB0DjStsIsfmGd6o Sf+CIMqzoVpn/C5O1fj0/imHsDEplLnu+8N2OFGUNEoQBsSHCCA66kunvx4vx6di+cRs Original-Sender: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org X-Gm-Message-State: AOAM532OXV0e5/I20aS0V++eezehcGAC3MhiB7ehLvxK49+iw+rhxeDv Y+nf6NW8PK1h09Tibob04mY= X-Google-Smtp-Source: ABdhPJwv0kOemoA+Z9lJsA4WDJZGQoohEtCQPbZKXRLMY15NYmBiaSIccq9rILewg5s0SFCUGPojyg== X-Received: by 2002:aca:d606:: with SMTP id n6mr4428894oig.76.1639667557890; Thu, 16 Dec 2021 07:12:37 -0800 (PST) X-BeenThere: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Original-Received: by 2002:aca:ded5:: with SMTP id v204ls1425673oig.10.gmail; Thu, 16 Dec 2021 07:12:36 -0800 (PST) X-Received: by 2002:a05:6808:258:: with SMTP id m24mr4462386oie.75.1639667556167; Thu, 16 Dec 2021 07:12:36 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1639667556; cv=none; d=google.com; s=arc-20160816; b=W4vc5ndkI8+p15Wplnt2JjMVBGKl2R7ZSOpdNrP+Og5OlxEMkOQ6wtupKFuUY+MNiK W3SgVSRoWQkbKp7twDuMiXpyjM/dAtoykzHN3k4lXHZ923Se3chWVbVW9wf4EQ0zawzO YJ8AaLBWaFaCIg+JtDnMiNZhnQ7ZMuXxexyFfTZt70KFa00o0Ss7x4IfJHnCg7jzLfUt xF+e9rExF/BcRQ6uLNr88y0ZSTGNln9kaT8g70TLLfPt+P6yIkbZQQI786tLUx6iYxpo nfYBcI/Dri3FaGnlNaT40HM+jZn2M50wrWLEtR2FmBDM8s3nLyZwpk2FsBXe5rWEW7tw 2c6g== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:in-reply-to:from:references:to :content-language:subject:user-agent:mime-version:date:message-id; bh=vfI1rQ0ks3JpOgn13G9fUdPh3Y4vPVZle2tq7Ghgv7I=; b=mazt4o0I+HLie8C2/t2BE/fgSC+GuxQ1KRpWMYuULfyhD1Lzz/xMmEoNgStjMPktmL KM4+iVl55XSx1s22dkRCmlKX2rdEUXdYh1ghDWx130UZneEaH4+LfkWnVC0po2wXknJ/ ULxaNZYFsNpaIqrygcfg3OKNGA90IaBgs3FG/HZXRfTaFXbPCHLLRakRahMbMhji2si5 2x352vIvMuteuYQWMSm9al1S7m5ur+B52EwpWRjKoinqXZUkVXNGrqYolTlIrXVeNCgV pQGVr/rhk/v4XKG4CEgKuOMQMyc3d7vmJzNuGEGBCUSBr5/Q3plcKB4rQ5DBrx/okWHP V9bg== ARC-Authentication-Results: i=1; gmr-mx.google.com; spf=neutral (google.com: 71.191.170.84 is neither permitted nor denied by domain of dstaal-Jdbf3xiKgS8@public.gmane.org) smtp.mailfrom=DStaal-Jdbf3xiKgS8@public.gmane.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=usa.net Original-Received: from mail.magehandbook.com (static-71-191-170-84.washdc.fios.verizon.net. [71.191.170.84]) by gmr-mx.google.com with ESMTP id d17si330523oiw.0.2021.12.16.07.12.36 for ; Thu, 16 Dec 2021 07:12:36 -0800 (PST) Received-SPF: neutral (google.com: 71.191.170.84 is neither permitted nor denied by domain of dstaal-Jdbf3xiKgS8@public.gmane.org) client-ip=71.191.170.84; Original-Received: from [192.168.1.27] (unknown [192.168.1.27]) by mail.magehandbook.com (Postfix) with ESMTP id 4JFFwL6LMrzMSH for ; Thu, 16 Dec 2021 10:12:34 -0500 (EST) Content-Language: en-US In-Reply-To: X-Original-Sender: DStaal-Jdbf3xiKgS8@public.gmane.org X-Original-Authentication-Results: gmr-mx.google.com; spf=neutral (google.com: 71.191.170.84 is neither permitted nor denied by domain of dstaal-Jdbf3xiKgS8@public.gmane.org) smtp.mailfrom=DStaal-Jdbf3xiKgS8@public.gmane.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=usa.net 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:29802 Archived-At: On 12/16/21 4:59 AM, christophe dervieux wrote: > Hi, > > I am not sure if this is expected behavior or not, so not sure to open > an issue or a feature request. > > Currently, with |raw_attributes| extentions, we can include raw HTML. > When using a one line we could use this form > > |Including an iframe ``{=html} Other content below | > > However, this will be wrapped in |

| tag. Pandoc will produce > > |

Including an iframe

Other content below

| > > I would expect to have my HTML code preserved and not wrapped. > > I know I could use > > |Including an iframe ```{=html} ``` Other content below | > > to produce > > |

Including an iframe

>

Other content below

| > > Is this the expected way then ? Or should the former also no wrap when > the all line is a content with raw_attributes From the docs, I'd say that's expected: The first form is an *inline* block, and the latter is just a block. This would correspond to HTML's inline and block elements - the former of which would always need to be inside a block. Markdown takes a whitespace-separated line as a paragraph, so that first is a paragraph with a single inline element. The second is a block itself. This interpretation also allows you to do things like have a paragraph completely covered in a span, etc. If you want an HTML block, use the block format. Daniel T. Staal -- --------------------------------------------------------------- This email copyright the author. Unless otherwise noted, you are expressly allowed to retransmit, quote, or otherwise use the contents for non-commercial purposes. This copyright will expire 5 years after the author's death, or in 30 years, whichever is longer, unless such a period is in excess of local copyright law. ---------------------------------------------------------------