pull/94/head
Matti Pastell 2017-05-12 16:12:20 +03:00
commit 2e65f08e0e
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