Merge pull request #87 from maximsch2/fix-inline

Fix inline code snippets output
pull/94/head
Matti Pastell 2017-04-02 09:43:43 +03:00 committed by GitHub
commit 93c2762653
1 changed files with 1 additions and 0 deletions

View File

@ -178,6 +178,7 @@ function run_inline(inline::InlineCode, report::Report, SandBox::Module)
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
inline.figures = chunks[1].figures