mirror of
https://github.com/ankitects/anki.git
synced 2025-11-14 00:27:13 -05:00
use {{ }} internally instead of the old %(...)s format
This commit is contained in:
parent
828c2cdf17
commit
e806800f1d
1 changed files with 0 additions and 1 deletions
|
|
@ -151,7 +151,6 @@ class CardLayout(QDialog):
|
||||||
|
|
||||||
def screenToFormat(self, fmt):
|
def screenToFormat(self, fmt):
|
||||||
fmt = fmt.replace("}}\n", "}}<br>")
|
fmt = fmt.replace("}}\n", "}}<br>")
|
||||||
fmt = re.sub("{{(.+?)}}", "%(\\1)s", fmt)
|
|
||||||
return fmt
|
return fmt
|
||||||
|
|
||||||
# def onEdit(self):
|
# def onEdit(self):
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue