JacobWrenn / notustohtml

Convert the Notus document format to an HTML representation.
https://pub.dev/packages/notustohtml
Other
17 stars 30 forks source link

decode html emoji not working #16

Closed mohammedX6 closed 1 year ago

mohammedX6 commented 2 years ago

<p><span class="ql-emojiblot" data-name="sunglasses"><span contenteditable="false"><span class="ap ap-sunglasses">😎</span></span></span></p>

The above html is not working

JacobWrenn commented 1 year ago

Hi @mohammedX6, the HTML decoding functionality is really only intended for HTML output that was originally a notus document which therefore means only a limited set of tags and structures are supported. However, emojis themselves such as in this example <p>😎</p> would work.