Merge pull request #22495 from sftim/20200713_retain_whitespace_in_callouts
Fix whitespace trimming for note callout shortcode
This commit is contained in:
commit
e4c454994b
|
|
@ -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