Skip to content

Commit

Permalink
refactor: Wrap placeholders in <div> to avoid them being wrapped in…
Browse files Browse the repository at this point in the history
… `<p>`
  • Loading branch information
pawamoy committed Jun 13, 2024
1 parent 4337d13 commit 500ed1b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/markdown_exec/formatters/base.py
Original file line number Diff line number Diff line change
Expand Up @@ -110,7 +110,7 @@ def base_format(

if html:
if source:
placeholder = str(uuid4())
placeholder = f'<div class="{uuid4()}"></div>'
wrapped_output = add_source(
source=source_output,
location=source,
Expand Down

0 comments on commit 500ed1b

Please # to comment.