diff options
| author | Laurenz <laurmaedje@gmail.com> | 2021-12-05 12:54:03 +0100 |
|---|---|---|
| committer | Laurenz <laurmaedje@gmail.com> | 2021-12-05 12:54:03 +0100 |
| commit | 26bdc1f0f6fe8113d7fcfb4d5aca46aa5238ccd8 (patch) | |
| tree | 4c12a187032501735d858648a64fe66603f106a6 /src/lib.rs | |
| parent | 738ff7e1f573bef678932b313be9969a17af8d22 (diff) | |
Set Rules Episode I: The Phantom Style
Diffstat (limited to 'src/lib.rs')
| -rw-r--r-- | src/lib.rs | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -110,7 +110,7 @@ impl Context { /// Execute a source file and produce the resulting page nodes. pub fn execute(&mut self, id: SourceId) -> TypResult<DocumentNode> { let module = self.evaluate(id)?; - Ok(module.template.to_document(&self.style)) + Ok(module.node.into_document()) } /// Typeset a source file into a collection of layouted frames. |
