Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Probably down to the 'greedy' markdown library used but... #10

Closed
superian opened this issue Feb 28, 2023 · 2 comments
Closed

Probably down to the 'greedy' markdown library used but... #10

superian opened this issue Feb 28, 2023 · 2 comments

Comments

@superian
Copy link

superian commented Feb 28, 2023

Lorem ipsum dolor sit amet, (*consectetur adipiscing elit*), sed do eiusmod tempor incididunt ut labore et dolore *magna* aliqua.

..gets translated by entry-post-md to..

Lorem ipsum dolor sit amet, (<em>consectetur adipiscing elit*), sed do eiusmod tempor incididunt ut labore et dolore *magna</em> aliqua.

..rather than the expected..

Lorem ipsum dolor sit amet, (<em>consectetur adipiscing elit</em>), sed do eiusmod tempor incididunt ut labore et dolore <em>magna</em> aliqua.

Github formats that string as expected:

Lorem ipsum dolor sit amet, (consectetur adipiscing elit), sed do eiusmod tempor incididunt ut labore et dolore magna aliqua.

@superian
Copy link
Author

Current workaround is to use a script to call entry-post instead, but with !markdown as the first line so that DW formats it as markdown.

@gromnitsky
Copy link
Owner

check 0.4.4 version on npm

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants