Skip to content

Commit

Permalink
Remove rawource from docutils nodes
Browse files Browse the repository at this point in the history
  • Loading branch information
zyzzyxdonta committed Dec 18, 2024
1 parent 00dc52f commit 9a7a160
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/source/_ext/plugin_markup.py
Original file line number Diff line number Diff line change
Expand Up @@ -95,7 +95,7 @@ def run(self) -> list[nodes.Node]:
by_alias=True, exclude_none=True
)
tag = f'<script type="application/ld+json">{markup}</script>'
tags.append(nodes.raw(rawsource=markup, text=tag, format="html"))
tags.append(nodes.raw(text=tag, format="html"))

return tags

Expand Down

0 comments on commit 9a7a160

Please sign in to comment.