mirror of
https://github.com/ankitects/anki.git
synced 2025-09-19 22:42:25 -04:00
add filter for styles
This commit is contained in:
parent
c9220f9f60
commit
4ceebb4a89
1 changed files with 2 additions and 1 deletions
|
@ -86,7 +86,8 @@ class View(object):
|
||||||
s = "<style>\n"
|
s = "<style>\n"
|
||||||
if self.main.deck:
|
if self.main.deck:
|
||||||
s += self.main.deck.css
|
s += self.main.deck.css
|
||||||
s += "div { white-space: pre-wrap; }"
|
s += "div { white-space: pre-wrap; }\n"
|
||||||
|
s = runFilter("addStyles", s)
|
||||||
s += "</style>"
|
s += "</style>"
|
||||||
return s
|
return s
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue