Re: [Rfc-markdown] CORRECTION RE: [rfc-i] Problem with Kramdown tooling and figures?

Carsten Bormann <cabo@tzi.org> Fri, 10 June 2022 22:46 UTC

Return-Path: <cabo@tzi.org>
X-Original-To: rfc-markdown@ietfa.amsl.com
Delivered-To: rfc-markdown@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 9A0CFC159496; Fri, 10 Jun 2022 15:46:13 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.91
X-Spam-Level:
X-Spam-Status: No, score=-1.91 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01] autolearn=ham autolearn_force=no
Received: from mail.ietf.org ([50.223.129.194]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id Lc787R6G0mIC; Fri, 10 Jun 2022 15:46:12 -0700 (PDT)
Received: from gabriel-smtp.zfn.uni-bremen.de (gabriel-smtp.zfn.uni-bremen.de [IPv6:2001:638:708:32::15]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id E965DC15948F; Fri, 10 Jun 2022 15:46:09 -0700 (PDT)
Received: from smtpclient.apple (p5089ad4f.dip0.t-ipconnect.de [80.137.173.79]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by gabriel-smtp.zfn.uni-bremen.de (Postfix) with ESMTPSA id 4LKbfN1H2fzDCc5; Sat, 11 Jun 2022 00:46:04 +0200 (CEST)
Content-Type: text/plain; charset="utf-8"
Mime-Version: 1.0 (Mac OS X Mail 16.0 \(3696.100.31\))
From: Carsten Bormann <cabo@tzi.org>
In-Reply-To: <MN2PR11MB3757223DDB24EC24024A0576B9A69@MN2PR11MB3757.namprd11.prod.outlook.com>
Date: Sat, 11 Jun 2022 00:46:03 +0200
Cc: Kesara Rathnayake <kesara@staff.ietf.org>, Jay Daley <exec-director@ietf.org>, "rfc-markdown@ietf.org" <rfc-markdown@ietf.org>, RFC Interest <rfc-interest@rfc-editor.org>
Content-Transfer-Encoding: quoted-printable
Message-Id: <DFE005E2-53B6-4CBC-91D8-244F954FF044@tzi.org>
References: <MN2PR11MB3757223DDB24EC24024A0576B9A69@MN2PR11MB3757.namprd11.prod.outlook.com>
To: "Paul Duffy (paduffy)" <paduffy@cisco.com>
X-Mailer: Apple Mail (2.3696.100.31)
Archived-At: <https://mailarchive.ietf.org/arch/msg/rfc-markdown/Rvm75IATJBh78L1GTqVewFXUu0U>
Subject: Re: [Rfc-markdown] CORRECTION RE: [rfc-i] Problem with Kramdown tooling and figures?
X-BeenThere: rfc-markdown@ietf.org
X-Mailman-Version: 2.1.39
Precedence: list
List-Id: "rfc-markdown is a discussion list for people writing I-Ds and RFCs in Markdown and the authors of the tools used for that." <rfc-markdown.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/rfc-markdown>, <mailto:rfc-markdown-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/rfc-markdown/>
List-Post: <mailto:rfc-markdown@ietf.org>
List-Help: <mailto:rfc-markdown-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/rfc-markdown>, <mailto:rfc-markdown-request@ietf.org?subject=subscribe>
X-List-Received-Date: Fri, 10 Jun 2022 22:46:13 -0000

On 10. Jun 2022, at 23:53, Paul Duffy (paduffy) <paduffy@cisco.com> wrote:
> 
> ... which results in the following text file rendering ...
> 
> <![CDATA[
> Artwork only available as SVG (PDF and HTML)
> ]]>
> 
> Appears to be an issue with escaping XML angle brackets.

Yes, I mentioned this as an issue with upstream kramdown, see also https://github.com/gettalong/kramdown/issues/758

As a workaround, you can get rid of the CDATA section (and escape any < or & as &lt; and &amp;, but your example doesn’t have these).

Grüße, Carsten