mirror of
https://github.com/ankitects/anki.git
synced 2025-11-11 07:07:13 -05:00
fix reference to simplify
This commit is contained in:
parent
22f4f439f0
commit
d0777a4ffd
1 changed files with 1 additions and 1 deletions
|
|
@ -574,7 +574,7 @@ class FactEdit(QTextEdit):
|
||||||
elif source.hasText():
|
elif source.hasText():
|
||||||
self.insertPlainText(source.text())
|
self.insertPlainText(source.text())
|
||||||
elif source.hasHtml():
|
elif source.hasHtml():
|
||||||
self.insertHtml(self.simplyHTML(unicode(source.html())))
|
self.insertHtml(self.simplifyHTML(unicode(source.html())))
|
||||||
|
|
||||||
def simplifyHTML(self, html):
|
def simplifyHTML(self, html):
|
||||||
"Remove all style information and P tags."
|
"Remove all style information and P tags."
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue