summaryrefslogtreecommitdiff
path: root/template/doc.tmpl
diff options
context:
space:
mode:
Diffstat (limited to 'template/doc.tmpl')
-rw-r--r--template/doc.tmpl6
1 files changed, 2 insertions, 4 deletions
diff --git a/template/doc.tmpl b/template/doc.tmpl
index 3319bd6..0d7083f 100644
--- a/template/doc.tmpl
+++ b/template/doc.tmpl
@@ -24,9 +24,7 @@
</ul>
{{end}}
-{{define "newline"}}
-{{/* No automatic line break. Paragraphs are free-form. */}}
-{{end}}
+{{define "newline"}}{{end}}
{{define "section"}}
<h4 id="TOC_{{.FormattedNumber}}">{{.Title}}</h4>
@@ -61,7 +59,7 @@
{{end}}
{{define "caption"}}
- <p class="figcaption">{{style .Text}}</p>
+ <div class="figcaption">{{style .Text}}</div>
{{end}}
{{define "iframe"}}