1
0
mirror of https://github.com/ArcticFoxes-net/Synapse-Ubuntu-ZFS synced 2024-10-18 03:15:14 -04:00

Element: Disable annoying TeX matching

TeX matching made it impossible to use multiple dollar signs in a message without escaping them. Now only LaTeX syntax (which is much less likely to be used accidentally) is accepted for math rendering.

Regex from https://stackoverflow.com/a/2302992

Signed-off-by: wj25czxj47bu6q <96372288+wj25czxj47bu6q@users.noreply.github.com>
This commit is contained in:
wj25czxj47bu6q 2024-04-10 07:53:10 +00:00 committed by GitHub
parent 072df59f4f
commit 94e7f705e9
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -41,13 +41,16 @@
"feature_jump_to_date": true, "feature_jump_to_date": true,
"feature_ask_to_join": true "feature_ask_to_join": true
}, },
"latex_maths_delims": {
"inline": { "pattern": { "tex": "^\\b$" } },
"display": { "pattern": { "tex": "^\\b$" } }
},
"default_federate": true, "default_federate": true,
"room_directory": { "room_directory": {
"servers": [ "servers": [
"arcticfoxes.net", "arcticfoxes.net",
"matrix.org", "matrix.org",
"grapheneos.org" "grapheneos.org"
] ]
}, },
"enable_presence_by_hs_url": { "enable_presence_by_hs_url": {