From 500ed1b3a6bb94edd3d5d7152cd818bc3db27bbd Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Timoth=C3=A9e=20Mazzucotelli?= Date: Thu, 13 Jun 2024 15:05:45 +0200 Subject: [PATCH] refactor: Wrap placeholders in `
` to avoid them being wrapped in `

` --- src/markdown_exec/formatters/base.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/markdown_exec/formatters/base.py b/src/markdown_exec/formatters/base.py index ab37b39..bcdc513 100644 --- a/src/markdown_exec/formatters/base.py +++ b/src/markdown_exec/formatters/base.py @@ -110,7 +110,7 @@ def base_format( if html: if source: - placeholder = str(uuid4()) + placeholder = f'

' wrapped_output = add_source( source=source_output, location=source,