ondratu / formiko

reStructuredText editor and live previewer
Other
121 stars 9 forks source link

dash space link (- <https://somelink.com> crashes #31

Closed twmoore3rd closed 3 years ago

twmoore3rd commented 3 years ago

Markdown consisting of a dash, a space, and a link

crashes the preview.

However (space deleted between dash and less then

-https://google.com

and

does not crash though the latter puts both links on the same preview line.

ondratu commented 3 years ago

Hi, cold you tell me more information about your formiko version and libraries ?

last git version with these versions works fine.

m2r                 0.2.1
docutils             0.16
Pygments            2.7.1
twmoore3rd commented 3 years ago

On Linux Mint, I used Synaptic Package Manager to install m2r which in turn installed docutils and Pygments as all three packages showed as not being in the (Python?) environment.

After installation of m2r and the other two packages, the preview test case worked.

Suggestions:

Am closing this issue as once the recommended libraries are installed, preview appears to work.

Thank you for your work on this project.

ondratu commented 3 years ago

Thanks,

I'm thinking about requirements, and i will do some cleanup in them, and if some of then does not exist, formiko will tell it in some right way (dialog, message, notification, I'm not sure now).