mirror of
https://github.com/typst/typst
synced 2025-07-30 07:47:55 +08:00
Prepare twice
This commit is contained in:
parent
1d7e8a7247
commit
75f4a964f9
@ -356,6 +356,14 @@ fn visit_show_rules<'a>(
|
|||||||
// prepare it.
|
// prepare it.
|
||||||
let mut tags = None;
|
let mut tags = None;
|
||||||
if !prepared {
|
if !prepared {
|
||||||
|
std::hint::black_box(prepare(
|
||||||
|
s.engine,
|
||||||
|
s.locator,
|
||||||
|
output.clone().to_mut(),
|
||||||
|
&mut map.clone(),
|
||||||
|
styles,
|
||||||
|
));
|
||||||
|
|
||||||
tags = prepare(s.engine, s.locator, output.to_mut(), &mut map, styles)?;
|
tags = prepare(s.engine, s.locator, output.to_mut(), &mut map, styles)?;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user