diff --git a/src/style/lsc.rs b/src/style/lsc.rs index 9bd8478..119b841 100644 --- a/src/style/lsc.rs +++ b/src/style/lsc.rs @@ -88,7 +88,7 @@ impl<'var> Pair<'var> { let mut iter = self.value.split(';').peekable(); while let Some(num) = iter.next() { - match num.trim_left_matches('0') { + match num.trim_start_matches('0') { // Bold and italic "1" => style = style.bold(),