Fix whitespace trimming for note callout shortcode
Use the same whitespace trimming that the other callout shortcodes (warning, caution) use, and avoid excessive newline removal.
This commit is contained in:
parent
92ba70f729
commit
847f57ecf5
|
@ -1,3 +1,3 @@
|
|||
<blockquote class="note">
|
||||
<div><strong>{{ T "note" }}</strong> {{ replaceRE "\\s+|\n" " " .Inner | markdownify }}</div>
|
||||
<div><strong>{{ T "note" }}</strong> {{ trim .Inner " \n" | markdownify }}</div>
|
||||
</blockquote>
|
Loading…
Reference in New Issue