Describe the bug
In Zotero notes, we can use $ in front and back of Te_ST to create latex block like $Te_ST$.
However, After refreshing the note editor, this will change into plain text without any latex rendering.
This happens in various ways.
Bug 1: Latex crash
- It is possible that after refreshing, $Te_ST$ will turn into TeSTTe_STTeST. The $ just disappears.
- It is also possible that only one $ is replaced, with the other $ unchanged.
- Sometimes both $ are present, but zotero just failed to render it in latex.
Bug 2: Multiple Enter
- Also, sometimes more than one Enter is inserted between two lines separated by one single Enter.
-Before:
-After:
A more complex formula as an example:
Before:
After:
Desktop (please complete the following information):
- OS: Windows 11
- Zotero 6.0.19
- Better Notes 0.8.8 Build 2023-01-04
Zotero crash report:
[JavaScript Error: "message is undefined" {file: "resource://zotero/note-editor/editor.js" line: 69997}]
[JavaScript Error: "TypeError: node is undefined" {file: "chrome://zotero/content/contextPane.js" line: 315}]
_focus@chrome://zotero/content/contextPane.js:315:1
_togglePane@chrome://zotero/content/contextPane.js:441:7
_toggleNotesButton@chrome://zotero/content/contextPane.js:271:5
[JavaScript Error: "_notesPaneDeck.selectedPanel is undefined" {file: "chrome://zotero/content/contextPane.js" line: 209}]
[JavaScript Error: "_notesPaneDeck.selectedPanel is undefined" {file: "chrome://zotero/content/contextPane.js" line: 209}]
[JavaScript Error: "TypeError: node is undefined" {file: "chrome://zotero/content/contextPane.js" line: 315}]
_focus@chrome://zotero/content/contextPane.js:315:1
_togglePane@chrome://zotero/content/contextPane.js:441:7
_toggleNotesButton@chrome://zotero/content/contextPane.js:271:5
[JavaScript Error: "TypeError: node is undefined" {file: "chrome://zotero/content/contextPane.js" line: 315}]
_focus@chrome://zotero/content/contextPane.js:315:1
_togglePane@chrome://zotero/content/contextPane.js:441:7
_toggleNotesButton@chrome://zotero/content/contextPane.js:271:5
[JavaScript Error: "TypeError: node is undefined" {file: "chrome://zotero/content/contextPane.js" line: 315}]
_focus@chrome://zotero/content/contextPane.js:315:1
_togglePane@chrome://zotero/content/contextPane.js:441:7
_toggleNotesButton@chrome://zotero/content/contextPane.js:271:5
[JavaScript Error: "message is undefined" {file: "resource://zotero/note-editor/editor.js" line: 69997}]
[JavaScript Error: "_notesPaneDeck.selectedPanel is undefined" {file: "chrome://zotero/content/contextPane.js" line: 209}]
[JavaScript Error: "_notesPaneDeck.selectedPanel is undefined" {file: "chrome://zotero/content/contextPane.js" line: 209}]
[JavaScript Error: "_notesPaneDeck.selectedPanel is undefined" {file: "chrome://zotero/content/contextPane.js" line: 209}]
[JavaScript Error: "_notesPaneDeck.selectedPanel is undefined" {file: "chrome://zotero/content/contextPane.js" line: 209}]
version => 6.0.19, platform => Win32, oscpu => Windows NT 10.0; WOW64, locale => zh-CN, appName => Zotero, appVersion => 6.0.19, extensions => Zutilo Zotero 工具箱 (3.10.0, extension), ZotFile (5.1.2, extension), Jasminum (0.2.4, extension), Zotero LibreOffice Integration (6.0.3.SA.6.0.19, extension), Zotero Word for Windows Integration (6.0.2.SA.6.0.19, extension), Zotero Better Notes (0.8.8, extension)
bug