-
Notifications
You must be signed in to change notification settings - Fork 13.5k
KaTeX parse error inside code block #13538
Copy link
Copy link
Closed
Description
My Setup
- Operating System: MacOS
- App Version: 2.14.7
- Installation type: dmg
- I have tested with the latest version
- I can simulate the issue easily
Description
insert following code to the conversation:
var OPEN_TAG = /\[%/;
Current Behavior
Message shows as code block with following error inside:
var OPEN_TAG = /
KaTeX parse error: Expected 'EOF', got '%' at position 22: …r CLOSE_TAG = /%̲
/;
Expected Behavior
Message shows as code block without any KaTeX error inside:
var OPEN_TAG = /\[%/;
Reactions are currently unavailable