-
-
Notifications
You must be signed in to change notification settings - Fork 226
Closed
Labels
asciidocThis is a topic related to the processing of AsciiDocThis is a topic related to the processing of AsciiDocbugSomething isn't workingSomething isn't workinghugoThis is a topic related to Hugo itself but not the themeThis is a topic related to Hugo itself but not the theme
Milestone
Description
Using notice shortcode in AsciiDoc, a paragraph break is inserted between icon and notice title like this.
I found that this is fixed by changing layouts/partials/shortcodes/notice.html as like below.
from:
<div class="box-label">{{ if $icon }}<i class="{{ $icon }}"></i>{{ end }}{{ if and $icon $title }} {{ end }}{{ $title | .RenderString }}</div>
to:
<div class="box-label">{{ if $icon }}<i class="{{ $icon }}"></i>{{ end }}{{ if and $icon $title }} {{ end }}{{ $title }}</div>
But I don't know if this change (removing .RenderString
) may cause other side effects.
Metadata
Metadata
Assignees
Labels
asciidocThis is a topic related to the processing of AsciiDocThis is a topic related to the processing of AsciiDocbugSomething isn't workingSomething isn't workinghugoThis is a topic related to Hugo itself but not the themeThis is a topic related to Hugo itself but not the theme