Support s tags for strikethrough for Matrix v1.10 (#12604)
* Support s tags for strikethrough for Matrix v1.10 Signed-off-by: Michael Telatynski <7t3chguy@gmail.com> * iterate Signed-off-by: Michael Telatynski <7t3chguy@gmail.com> * Update src/Linkify.tsx --------- Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
This commit is contained in:
committed by
GitHub
parent
ccf751d6b8
commit
21ae29c002
@@ -195,6 +195,8 @@ function parseNode(n: Node, pc: PartCreator, opts: IParseOptions, mkListItem?: (
|
||||
return [pc.plain("**"), ...parseChildren(n, pc, opts), pc.plain("**")];
|
||||
case "DEL":
|
||||
return [pc.plain("<del>"), ...parseChildren(n, pc, opts), pc.plain("</del>")];
|
||||
case "S":
|
||||
return [pc.plain("<s>"), ...parseChildren(n, pc, opts), pc.plain("</s>")];
|
||||
case "SUB":
|
||||
return [pc.plain("<sub>"), ...parseChildren(n, pc, opts), pc.plain("</sub>")];
|
||||
case "SUP":
|
||||
|
||||
Reference in New Issue
Block a user