Skip to content

Commit

Permalink
Revert "_includes/figure: Replace remove:<p> with strip_html, fix mmi…
Browse files Browse the repository at this point in the history
…stakes#4841"

This reverts commit 4efb863.
  • Loading branch information
ElponeNote committed Jun 13, 2024
1 parent 2ea8fcb commit 0463948
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion _includes/figure
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<figure class="{{ include.class }}">
{%- if include.popup -%}<a href="{{ include.image_path | relative_url }}" class="image-popup"{% if include.caption %} title="{{ include.caption | markdownify | strip_html }}"{% endif %}>{%- endif -%}
{%- if include.popup -%}<a href="{{ include.image_path | relative_url }}" class="image-popup" title="{% if include.caption %}{{ include.caption | markdownify | remove: "<p>" | remove: "</p>" }}{% endif %}">{%- endif -%}
<img src="{{ include.image_path | relative_url }}"
alt="{% if include.alt %}{{ include.alt }}{% endif %}">
{%- if include.popup -%}</a>{%- endif -%}
Expand Down
1 change: 1 addition & 0 deletions docs/_docs/18-history.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ excerpt: Change log of enhancements and bug fixes made to the theme.
sidebar:
nav: docs
last_modified_at: '2024-05-27T01:08:26+08:00'
last_modified_at: '2024-05-10T18:00:47+08:00'
toc: false
---

Expand Down

0 comments on commit 0463948

Please sign in to comment.