Don't remove whitespace from start of inline output

pull/94/head v0.4.3
Matti Pastell 2017-04-02 09:47:12 +03:00
parent 93c2762653
commit 562968f9be
1 changed files with 0 additions and 1 deletions

View File

@ -177,7 +177,6 @@ function run_inline(inline::InlineCode, report::Report, SandBox::Module)
contains(report.formatdict[:doctype], "2html") && (chunks = embed_figures(chunks, report.cwd))
output = chunks[1].output
startswith(output, "\n") && (output = replace(output, "\n", "", 1))
endswith(output, "\n") && (output = output[1:end-1])
inline.output = output
inline.rich_output = chunks[1].rich_output