flutter_html
flutter_html copied to clipboard
Cannot style <ruby> by class name
Describe the bug:
<ruby> cannot be styled by referring to its class name. The reason why I can't style the ruby tag directly is because I have nested rubies inside whose fontSize gets quadrupled when I double the fontSize of all ruby tags.
HTML to reproduce the issue:
<ruby class="clause">
生<rt>sang1</rt>
命<rt>ming6</rt>
</ruby>
Html widget configuration:
".clause": Style(fontSize: FontSize.percent(200))
Expected behavior: Ruby text to be doubled the size of normal text.
Device details and Flutter/Dart/flutter_html versions:
Flutter_html version: Jan 14, 2022 commit hash ed48ee825a997abfcc1dfe43a98280ce0ea3a39a