mirror of https://github.com/mpastell/Weave.jl
Merge pull request #88 from tpapp/hugo-trivial-fix
Removed superfluous space which broke the hugo parser.pull/94/head
commit
7edd8f8bc3
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue