diff --git a/inline/tests/parser/mod.rs b/inline/tests/parser/mod.rs index 18238270..6001404f 100644 --- a/inline/tests/parser/mod.rs +++ b/inline/tests/parser/mod.rs @@ -57,7 +57,7 @@ fn run_spec_test(case: test_runner::test_file::TestCase) { let input = test.input.trim_end(); let um = unimarkup_core::Unimarkup::parse(input, cfg); test_file::TestOutputs { - html: Some(um.render_html().unwrap().to_string()), + html: Some(um.render_html(false).unwrap().to_string()), um: Some(test.input.clone()), } }, diff --git a/render/src/pdf/mod.rs b/render/src/pdf/mod.rs index 891cc09c..cf25e6cd 100644 --- a/render/src/pdf/mod.rs +++ b/render/src/pdf/mod.rs @@ -1 +1 @@ -pub mod render; \ No newline at end of file +pub mod render; diff --git a/render/src/umi/render.rs b/render/src/umi/render.rs index 4c2f31b1..e0290a42 100644 --- a/render/src/umi/render.rs +++ b/render/src/umi/render.rs @@ -1,6 +1,7 @@ use unimarkup_inline::element::InlineElement; use unimarkup_parser::elements::blocks::Block; +use crate::log_id::RenderError; use crate::render::{Context, OutputFormat, Renderer}; use std::collections::HashMap; @@ -270,4 +271,8 @@ impl Renderer for UmiRenderer { context.get_lang().to_string(), )) } + + fn get_target(&mut self) -> Result { + Ok(Umi::default()) + } }