mirror of
https://github.com/ankitects/anki.git
synced 2025-09-24 08:46:37 -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.moveCursor(QTextCursor.End)
|
||||
d.exec_()
|
||||
w.setText(unicode(form.textEdit.toPlainText()).\
|
||||
w.setHtml(unicode(form.textEdit.toPlainText()).\
|
||||
replace("\n", ""))
|
||||
self.saveFields()
|
||||
|
||||
|
|
Loading…
Reference in a new issue