mirror of
https://github.com/ankitects/anki.git
synced 2025-09-25 17:26:36 -04:00
don't autodetect html in html editor
This commit is contained in:
parent
51a57a5e8a
commit
8282d3e7de
1 changed files with 1 additions and 1 deletions
|
@ -521,7 +521,7 @@ class FactEditor(object):
|
||||||
form.textEdit.setPlainText(self.widgets[w].value)
|
form.textEdit.setPlainText(self.widgets[w].value)
|
||||||
form.textEdit.moveCursor(QTextCursor.End)
|
form.textEdit.moveCursor(QTextCursor.End)
|
||||||
d.exec_()
|
d.exec_()
|
||||||
w.setText(unicode(form.textEdit.toPlainText()).\
|
w.setHtml(unicode(form.textEdit.toPlainText()).\
|
||||||
replace("\n", ""))
|
replace("\n", ""))
|
||||||
self.saveFields()
|
self.saveFields()
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue