Merge pull request #88 from tpapp/hugo-trivial-fix

Removed superfluous space which broke the hugo parser.
pull/94/head
Matti Pastell 2017-04-02 22:58:50 +03:00 committed by GitHub
commit 7edd8f8bc3
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