Skip to content

Commit

Permalink
✨ feat: allow HTML tags in multilingual quote author
Browse files Browse the repository at this point in the history
  • Loading branch information
welpo committed Jun 20, 2024
1 parent 5ae629d commit be7628a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions templates/shortcodes/multilingual_quote.html
Original file line number Diff line number Diff line change
Expand Up @@ -20,15 +20,15 @@
<div class="translated">
<blockquote>
<p>{{ open_quote ~ translated ~ close_quote }}</p>
<p>{% if author %}— {{ author }}{% endif %} <label for="toggle-{{ random_id }}" class="quote-label quote-label-original">
<p>{% if author %}— {{ author | safe }}{% endif %} <label for="toggle-{{ random_id }}" class="quote-label quote-label-original">
({{- macros_translate::translate(key="show_original_quote", default="Show original quote", language_strings=language_strings) -}})
</label></p>
</blockquote>
</div>
<div class="original">
<blockquote>
<p>{{ open_quote ~ original ~ close_quote }}</p>
<p>{% if author %}— {{ author }}{% endif %} <label for="toggle-{{ random_id }}" class="quote-label quote-label-translate">
<p>{% if author %}— {{ author | safe }}{% endif %} <label for="toggle-{{ random_id }}" class="quote-label quote-label-translate">
({{- macros_translate::translate(key="show_translation", default="Show translation", language_strings=language_strings) -}})
</label></p>
</blockquote>
Expand Down

0 comments on commit be7628a

Please sign in to comment.