singerdmx / flutter-quill

Rich text editor for Flutter

Home Page:https://pub.dev/packages/flutter_quill

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Even though I marked the text with code, it shows html

tekink opened this issue · comments

Is there an existing issue for this?

Flutter Quill version

9.3.6

Steps to reproduce

This is code
11

Expected results

I expect it to say < integer > next to the one marked with code.

Actual results

12

Code sample

Code sample
   List deltaJson = htmlController.document.toDelta().toJson();
   String html= DeltaToHTML.encodeJson(deltaJson);

html is equal to with debugPrint
test<pre><code style='color:#3F51B5; background-color:#f1f1f1; padding: 0px 4px;'>test<integer></code></pre>test<br><br>

Screenshots or Video

Screenshots / Video demonstration

[Upload media here]

Logs

Logs
[Paste your logs here]
commented

Which package are you using to convert to Html?

Which package are you using to convert to Html?

flutter_quill and flutter_widget_from_html, same result.