Merge pull request #22495 from sftim/20200713_retain_whitespace_in_callouts

Fix whitespace trimming for note callout shortcode
This commit is contained in:
Kubernetes Prow Robot
2020-07-13 14:15:21 -07:00
committed by GitHub
+1 -1
View File
@@ -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>