SimonFairbairn / SwiftyMarkdown

Converts Markdown files and strings into NSAttributedStrings with lots of customisation options.
MIT License
1.64k stars 275 forks source link

Links not appearing correctly #69

Closed ghost closed 4 years ago

ghost commented 4 years ago

Issue

When adding an image and a bold title to the same line, links do not appear properly.

Example string in markdown file:

![Image](play) **Bold Title** This is a test. The link will not show up here because there is an image and bold text on same line. The link is here: [Links](https://espn.com/)

This is how the string above appears. Notice the link turned into weird characters:

image

How to reproduce

Use the string above in a markdown file and display it in the app.

Device

SimonFairbairn commented 4 years ago

Thanks for the detailed bug reports. I'll look into all of these and get a fix out as soon as possible.

ghost commented 4 years ago

No problem! Thanks for quickly fixing things!