diff options
Diffstat (limited to 'plugins/base/src/main/kotlin/parsers')
-rw-r--r-- | plugins/base/src/main/kotlin/parsers/MarkdownParser.kt | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/plugins/base/src/main/kotlin/parsers/MarkdownParser.kt b/plugins/base/src/main/kotlin/parsers/MarkdownParser.kt index a74f2b05..3fc570a0 100644 --- a/plugins/base/src/main/kotlin/parsers/MarkdownParser.kt +++ b/plugins/base/src/main/kotlin/parsers/MarkdownParser.kt @@ -222,8 +222,8 @@ class MarkdownParser( defaultHandler(node) private fun strikeThroughHandler(node: ASTNode) = DocTagsFromIElementFactory.getInstance( - GFMElementTypes.STRIKETHROUGH, - body = text.substring(node.startOffset, node.endOffset).transform() + node.type, + children = node.children.evaluateChildrenWithDroppedEnclosingTokens(2) ) private fun tableHandler(node: ASTNode) = DocTagsFromIElementFactory.getInstance( |