mirror of
https://github.com/ankitects/anki.git
synced 2025-09-24 16:56:36 -04: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):
|
||||
fmt = fmt.replace("}}\n", "}}<br>")
|
||||
fmt = re.sub("{{(.+?)}}", "%(\\1)s", fmt)
|
||||
return fmt
|
||||
|
||||
# def onEdit(self):
|
||||
|
|
Loading…
Reference in a new issue