You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When using the figure helper template, the caption attribute is sensitive to use of code text.
What i mean is if you wrap a word in the caption in backticks, than the whole template breaks. This does not seem to happen with other markdown syntax such as italics.
It still displays the figure and caption when you have the code text but it also shows some raw html in the final output website
Steps to reproduce the behavior
To reproduce this error in a markdown file use the figure template and set a caption that has some word wrapped in backticks.
Other
Use this snippet to recreate the error
{% include figure popup=true image_path="/path/to/figure.png" caption="This caption has `code text` which will cause the template to break" %}
The text was updated successfully, but these errors were encountered:
iBug
changed the title
Figure helper breaks when using code font in caption
Figure helper breaks when using code font in caption combined with popup=true
May 26, 2024
What happened?
Expected behavior
When using the figure helper template, the
caption
attribute is sensitive to use of code text.What i mean is if you wrap a word in the caption in backticks, than the whole template breaks. This does not seem to happen with other markdown syntax such as italics.
It still displays the figure and caption when you have the code text but it also shows some raw html in the final output website
Steps to reproduce the behavior
To reproduce this error in a markdown file use the figure template and set a caption that has some word wrapped in backticks.
Other
Use this snippet to recreate the error
The text was updated successfully, but these errors were encountered: