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
commit e4c454994b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

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>