summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--crates/typst/src/visualize/stroke.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/crates/typst/src/visualize/stroke.rs b/crates/typst/src/visualize/stroke.rs
index d060ad09..97d13428 100644
--- a/crates/typst/src/visualize/stroke.rs
+++ b/crates/typst/src/visualize/stroke.rs
@@ -311,7 +311,7 @@ impl<T: Numeric + Repr> Repr for Stroke<T> {
}
if let Smart::Custom(dash) = &dash {
r.push_str(sep);
- r.push_str("cap: ");
+ r.push_str("dash: ");
if let Some(dash) = dash {
r.push_str(&dash.repr());
} else {