diff --git a/pkg/renderer/context.go b/pkg/renderer/context.go index 4b95334e..10fc5d17 100644 --- a/pkg/renderer/context.go +++ b/pkg/renderer/context.go @@ -8,7 +8,7 @@ import ( // Context is a custom implementation of the standard golang context.Context interface, // which carries the types.Document which is being processed type Context struct { - Config *configuration.Configuration + Config *configuration.Configuration // TODO: use composition (remove the `Config` field) // TableOfContents exists even if the document did not specify the `:toc:` attribute. // It will take into account the configured `:toclevels:` attribute value. TableOfContents types.TableOfContents diff --git a/pkg/renderer/sgml/html5/icon.go b/pkg/renderer/sgml/html5/icon.go index 9f6557e8..d9a35a5b 100644 --- a/pkg/renderer/sgml/html5/icon.go +++ b/pkg/renderer/sgml/html5/icon.go @@ -11,7 +11,7 @@ const ( `{{ if .Link }}{{ end }}` + `` - iconImageTmpl = `
+
+