Removed superfluous space which broke the hugo parser.

pull/88/head
Tamas K. Papp 2017-04-02 20:30:29 +02:00
parent 5b7ac28e3c
commit 0682ca8c59
1 changed files with 1 additions and 1 deletions

View File

@ -427,7 +427,7 @@ function formatfigures(chunk, docformat::Hugo)
caption = chunk.options[:fig_cap]
title_spec = caption == nothing ? "" : "title=\"$(caption)\" "
end
"{{< figure src=\"$(joinpath(relpath, fig))\" $(title_spec) > }}"
"{{< figure src=\"$(joinpath(relpath, fig))\" $(title_spec) >}}"
end
mapreduce(format_shortcode, *, "", enumerate(chunk.figures))
end