breaks emphasis syntax
is breaking emphasis syntax in markdown results.
e.g.: <strong>Text </strong> becomes **Text ** instead of **Text**
The workaround is to html2md.convert(html.replaceAll(' ', ' '))
Although the most common, nbsp; isn't the only one. Both the number and name variant of these symbols seem to break it. I tried like a dozen other random characters, but only space characters seem to trigger this.
| Character | HTML number | HTML name | Description |
|---|---|---|---|
  |
|
non-breaking space | |
  |
  |
en space | |
  |
  |
em space | |
  |
  |
thin space |
I've seen it break <em>, <strong>,<del>, but there could be others.
It seems to happen when it is at the start or end of the tag, but also if it is padded by normal spaces
<strong>Text </strong> - breaks
<trong>Text </strong> - breaks
<strong>Text Text</strong> - works
<strong> Text</strong> - breaks
<strong> Text</strong> - breaks
(tested by rendering using flutter_markdown.
@timbotimbo This workaround fixes everything here? html2md.convert(html.replaceAll(' ', ' '))
It should work if you replace all the symbols in that table that you suspect might show up in your input.