draftjs-md-converter icon indicating copy to clipboard operation
draftjs-md-converter copied to clipboard

Last two words of a line concatenate - space disappears

Open danielsnider opened this issue 4 years ago • 0 comments

Under very specific conditions (I'm worried about it happening often) the last two words on a line concatenate. The space between the last two words disappear when last word is exactly 4 characters long and is styled italic, and bold+italics styling must be somewhere on the line.

Example Input: image

Example Output:

*__this__ is atest*

Notice the last space between "a test" disappeared.

danielsnider avatar Jan 10 '20 16:01 danielsnider