Use TeX and LaTeX delimiters by default for serialize

This commit is contained in:
Sven Mäder 2021-01-29 00:11:06 +01:00
parent d5c72b9d70
commit c4f0987487
3 changed files with 43 additions and 32 deletions

View file

@ -227,7 +227,7 @@ export const Commands = [
new Command({
command: 'tex',
args: '<message>',
description: _td('Sends a message in TeX mode, using $ and $$ delimiters for maths'),
description: _td('Sends a message in TeX mode, without restrictions'),
runFn: function(roomId, args) {
if (SettingsStore.getValue("feature_latex_maths")) {
if (args) {