-
Notifications
You must be signed in to change notification settings - Fork 23
Open
Description
Example input: <div><strong>fo</strong>o</div><div>bar</div>. Current output: 'fo o\nbar', while desired output is 'foo\nbar'.
At the same time, in the changelog I find this:
Fix unwanted joins of words with inline tags: spaces are added for inline tags too, but a heuristic is used to preserve punctuation without extra spaces.
So it's not entirely clear if we should always avoid adding spaces around all inline tags. Maybe we could start with not adding them around tags such as strong, em, etc.
Also note that more common usage such as <div><strong>foo</span>, next</div> is handled correctly regardless: foo, next.
Gallaecio
Metadata
Metadata
Assignees
Labels
No labels