Skip to content

Inconsistent handling of No-Break Space and Space #175

Open
@matiasfrndz

Description

@matiasfrndz

I noticed an inconsistent handling of No-Break Space and Space.
Observed behaviour using version 0.14.1: the following HTML:

<div>this is a <i>test&nbsp;</i>with whitespaces</div>
<div>this is a <i>test </i>with whitespaces</div>

Gets converted to:

this is a *test*with whitespaces
this is a *test* with whitespaces

Note that the &nbsp; in the first line gets lost during conversion.

I would expect that the conversion holds the same result for both lines. In fact I would expect the following result:

this is a *test *with whitespaces

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions