mirror of
https://github.com/vector-im/element-web.git
synced 2025-08-23 07:21:22 +02:00
Nicer indentation
This commit is contained in:
parent
544761329c
commit
ccd02c48b3
@ -42,7 +42,7 @@ ${json}
|
||||
protected indentEachLine(string: string) {
|
||||
const indent = ' ';
|
||||
const regex = /^(?!\s*$)/gm;
|
||||
return string.replace(regex, indent.repeat(1));
|
||||
return string.replace(regex, indent.repeat(2));
|
||||
}
|
||||
|
||||
protected onBeforeUnload = (e: BeforeUnloadEvent) => {
|
||||
|
Loading…
x
Reference in New Issue
Block a user