mirror of
https://github.com/1j01/textual-paint.git
synced 2024-12-01 00:10:06 +03:00
Fix missing new scope parameter to parse
This commit is contained in:
parent
71060ecd70
commit
4ae90dcb11
@ -734,7 +734,7 @@ class AnsiArtDocument:
|
||||
|
||||
css = re.sub(property_pattern, rewrite_property, css)
|
||||
|
||||
for rule_set in parse(css, "inline <style> (modified)"):
|
||||
for rule_set in parse(scope="", css=css, path="inline <style> (modified)"):
|
||||
rule_sets.append(rule_set)
|
||||
# Apply stylesheets as inline styles.
|
||||
for rule_set in rule_sets:
|
||||
|
Loading…
Reference in New Issue
Block a user