[backend/libmfm] Drop support for the unicode emoji node type

This commit is contained in:
Laura Hausmann 2024-05-01 16:52:11 +02:00
parent 4647aac503
commit 12e77cfb64
No known key found for this signature in database
GPG key ID: D044E84C5BE01605
2 changed files with 0 additions and 14 deletions

File diff suppressed because one or more lines are too long

View file

@ -62,10 +62,6 @@ module MfmNodeTypes =
type MfmCenterNode(c) =
inherit MfmBlockNode(c)
type MfmUnicodeEmojiNode(e: string) =
inherit MfmInlineNode([])
member val Emoji = e
type MfmEmojiCodeNode(n) =
inherit MfmInlineNode([])
member val Name = n
@ -311,9 +307,6 @@ module private MfmParser =
//TODO: still missing: FnNode, MfmSearchNode, MfmQuoteNode
// This intentionally doesn't implement the node type UnicodeEmojiNode, both for performance,
// and because it's not needed for backend processing
let blockNodeSeq =
[ plainNode; centerNode; smallNode; codeBlockNode; mathBlockNode ]