You've already forked matrix-react-sdk
mirror of
https://github.com/matrix-org/matrix-react-sdk.git
synced 2025-06-26 04:01:04 +03:00
Revert support for ~~gh strikeout~~
This commit is contained in:
@ -62,9 +62,6 @@ function is_multi_line(node) {
|
|||||||
*/
|
*/
|
||||||
export default class Markdown {
|
export default class Markdown {
|
||||||
constructor(input) {
|
constructor(input) {
|
||||||
// Support GH-style strikeout
|
|
||||||
input = input.replace(/~~(.*?)~~/g, '<del>$1</del>');
|
|
||||||
|
|
||||||
this.input = input;
|
this.input = input;
|
||||||
|
|
||||||
const parser = new commonmark.Parser();
|
const parser = new commonmark.Parser();
|
||||||
|
Reference in New Issue
Block a user