Skip to content

Indented paragraph inside a <quote> should be a plain paragraph #35

Description

@link2xt

Here is an example:

<quote>
   Not a nested quote
</quote>

Emacs Muse parses it as a paragraph within a blockquote, not a paragraph within a blockquote within a blockquote. Similarly, right and center alignment within a blockquote is impossible in Emacs Muse (in Text::Amuse it is still possible to do with <right> or <center>).

Just fixed it in pandoc: jgm/pandoc@3480a8a

This difference is not significant, but in my case it matters, because I am in the process of refactoring Muse reader to avoid reparsing (list parsing takes exponential time, see jgm/pandoc#4285), and not having to keep track of whether I am inside a list or not makes things much easier. The rule is simple now: indented paragraphs, headers and notes are only parsed on the topmost level.

Activity

  1. melmothx commented on Feb 19, 2018

    @melmothx
    Owner

    I'm mumbling about this, but I'm reclutant to change working code for a thing which looks like confusing input and implementation artifact.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions