Skip to content

Commit

Permalink
🐛 fix(multilingual-quote): open <p> regardless of attribution
Browse files Browse the repository at this point in the history
  • Loading branch information
welpo committed Oct 19, 2023
1 parent 944ad4d commit 01d5322
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>
{% if author %}<p> — {{ author }}{% endif %} <label for="toggle-{{ random_id }}" class="quote-label quote-label-original">
<p>{% if author %}— {{ author }}{% 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>
{% if author %}<p> — {{ author }}{% endif %} <label for="toggle-{{ random_id }}" class="quote-label quote-label-translate">
<p>{% if author %}— {{ author }}{% 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 01d5322

Please sign in to comment.