SwiftStudies/SmarkDown

Auto-insert <br />

Closed this issue · 1 comments

If a
is auto-inserted (as a result of a double space followed by a newline) after auto-linked text then an additional angle brace can appear, for example

<mailto:someone@someone.com>  \n
Next line

Can result in

<a href="mailto:someone@someone.com">someone@someone.com</a>
>Next line

Fixed in commit also extended unit test to cover this case