mirror of
https://github.com/element-hq/element-web.git
synced 2024-12-14 23:13:06 +03:00
removed useless import and whitespace
This commit is contained in:
parent
f0c4473107
commit
38d1aac978
1 changed files with 0 additions and 2 deletions
|
@ -16,7 +16,6 @@ limitations under the License.
|
||||||
|
|
||||||
import commonmark from 'commonmark';
|
import commonmark from 'commonmark';
|
||||||
import {escape} from "lodash";
|
import {escape} from "lodash";
|
||||||
import SettingsStore from './settings/SettingsStore';
|
|
||||||
|
|
||||||
const ALLOWED_HTML_TAGS = ['sub', 'sup', 'del', 'u'];
|
const ALLOWED_HTML_TAGS = ['sub', 'sup', 'del', 'u'];
|
||||||
|
|
||||||
|
@ -71,7 +70,6 @@ function is_allowed_html_tag(node) {
|
||||||
const tag = matches[1];
|
const tag = matches[1];
|
||||||
return ALLOWED_HTML_TAGS.indexOf(tag) > -1;
|
return ALLOWED_HTML_TAGS.indexOf(tag) > -1;
|
||||||
}
|
}
|
||||||
|
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue