aboutsummaryrefslogtreecommitdiff
path: root/generators/hugo/themes/tdro/layouts/shortcodes/marginimage.html
diff options
context:
space:
mode:
Diffstat (limited to 'generators/hugo/themes/tdro/layouts/shortcodes/marginimage.html')
-rw-r--r--generators/hugo/themes/tdro/layouts/shortcodes/marginimage.html2
1 files changed, 1 insertions, 1 deletions
diff --git a/generators/hugo/themes/tdro/layouts/shortcodes/marginimage.html b/generators/hugo/themes/tdro/layouts/shortcodes/marginimage.html
index 24a550f..498a901 100644
--- a/generators/hugo/themes/tdro/layouts/shortcodes/marginimage.html
+++ b/generators/hugo/themes/tdro/layouts/shortcodes/marginimage.html
@@ -3,7 +3,7 @@
{{ $image := imageConfig $imageFile }}
<span class="marginnote-container">
- <label for="{{ $id }}" class="marginnote-toggle marginnote-mark" title="{{ .Inner | markdownify }}"><span>{{ .Get `mark` | markdownify }}</span></label>
+ <label for="{{ $id }}" class="marginnote-toggle marginnote-mark" title="{{ .Inner | replaceRE "\n" " " | markdownify }}"><span>{{ .Get `mark` | markdownify }}</span></label>
<input type="checkbox" id="{{ $id }}" class="marginnote-toggle">
<span class="sans-serif marginnote sideimage {{ .Get `set` }}note">
<a href="{{.Get `source`}}" onclick="return false;">