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

Muse reader: incorrect handling of "**" between words #5821

Closed
link2xt opened this issue Oct 14, 2019 · 2 comments
Closed

Muse reader: incorrect handling of "**" between words #5821

link2xt opened this issue Oct 14, 2019 · 2 comments

Comments

@link2xt
Copy link
Collaborator

link2xt commented Oct 14, 2019

**Foo bar**bat baz** produces

<p>*<em>Foo barbat baz</em>*</p>

but should produce

<p><strong>Foo bar**bat baz</strong></p>

instead.

Text::Amuse is correct here.

Related: Alhadis/language-emacs-lisp#5

@link2xt
Copy link
Collaborator Author

link2xt commented Oct 14, 2019

Partially addressed in 13e0ac1

@link2xt
Copy link
Collaborator Author

link2xt commented Oct 14, 2019

This one is more problematic, because * preceded by * is parsed as the start of normal emphasis:

$ pandoc -f muse -t html
**foo*
^D
<p>*<em>foo</em></p>

This makes it impossible to parse closing ** in **Foo bar**bat baz** as the first asterisk is consumed by emphasis.

This should be parsed as plain text: **foo*.

Alhadis added a commit to Alhadis/language-emacs-lisp that referenced this issue Oct 15, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant