Skip to content

Nested blockquotes are filled incorrectly #366

@raxod502

Description

@raxod502

Expected Behavior

Given nested blockquote:

> We hold these truths to be self-evident, that all men are created
> equal, that they are endowed by their Creator with certain
> unalienable Rights, that among these are Life, Liberty and the
> pursuit of Happiness.--That to secure these rights, Governments are
> instituted among Men, deriving their just powers from the consent of
> the governed, --That whenever any Form of Government becomes
> destructive of these ends, it is the Right of the People to alter or
> to abolish it, and to institute new Government, laying its
> foundation on such principles and organizing its powers in such
> form, as to them shall seem most likely to effect their Safety and
> Happiness
>
> > We hold these truths to be self-evident, that all men are created
> > equal, that they are endowed by their Creator with certain
> > unalienable Rights, that among these are Life, Liberty and the
> > pursuit of Happiness.--That to secure these rights, Governments are
> > instituted among Men, deriving their just powers from the consent of
> > the governed, --That whenever any Form of Government becomes
> > destructive of these ends, it is the Right of the People to alter or
> > to abolish it, and to institute new Government, laying its
> > foundation on such principles and organizing its powers in such
> > form, as to them shall seem most likely to effect their Safety and
> > Happiness
>
> We hold these truths to be self-evident, that all men are created
> equal, that they are endowed by their Creator with certain
> unalienable Rights, that among these are Life, Liberty and the
> pursuit of Happiness.--That to secure these rights, Governments are
> instituted among Men, deriving their just powers from the consent of
> the governed, --That whenever any Form of Government becomes
> destructive of these ends, it is the Right of the People to alter or
> to abolish it, and to institute new Government, laying its
> foundation on such principles and organizing its powers in such
> form, as to them shall seem most likely to effect their Safety and
> Happiness

Typing M-q in second paragraph should produce:

> We hold these truths to be self-evident, that all men are created
> equal, that they are endowed by their Creator with certain
> unalienable Rights, that among these are Life, Liberty and the
> pursuit of Happiness.--That to secure these rights, Governments are
> instituted among Men, deriving their just powers from the consent of
> the governed, --That whenever any Form of Government becomes
> destructive of these ends, it is the Right of the People to alter or
> to abolish it, and to institute new Government, laying its
> foundation on such principles and organizing its powers in such
> form, as to them shall seem most likely to effect their Safety and
> Happiness
>
> > We hold these truths to be self-evident, that all men are created
> > equal, that they are endowed by their Creator with certain
> > unalienable Rights, that among these are Life, Liberty and the
> > pursuit of Happiness.--That to secure these rights, Governments
> > are instituted among Men, deriving their just powers from the
> > consent of the governed, --That whenever any Form of Government
> > becomes destructive of these ends, it is the Right of the People
> > to alter or to abolish it, and to institute new Government,
> > laying its foundation on such principles and organizing its
> > powers in such form, as to them shall seem most likely to effect
> > their Safety and Happiness
>
> We hold these truths to be self-evident, that all men are created
> equal, that they are endowed by their Creator with certain
> unalienable Rights, that among these are Life, Liberty and the
> pursuit of Happiness.--That to secure these rights, Governments are
> instituted among Men, deriving their just powers from the consent of
> the governed, --That whenever any Form of Government becomes
> destructive of these ends, it is the Right of the People to alter or
> to abolish it, and to institute new Government, laying its
> foundation on such principles and organizing its powers in such
> form, as to them shall seem most likely to effect their Safety and
> Happiness

Actual Behavior

It actually produces this:

> We hold these truths to be self-evident, that all men are created
> equal, that they are endowed by their Creator with certain
> unalienable Rights, that among these are Life, Liberty and the
> pursuit of Happiness.--That to secure these rights, Governments are
> instituted among Men, deriving their just powers from the consent of
> the governed, --That whenever any Form of Government becomes
> destructive of these ends, it is the Right of the People to alter or
> to abolish it, and to institute new Government, laying its
> foundation on such principles and organizing its powers in such
> form, as to them shall seem most likely to effect their Safety and
> Happiness
>
> > We hold these truths to be self-evident, that all men are created
> > equal, that they are endowed by their Creator with certain >
> unalienable Rights, that among these are Life, Liberty and the >
> pursuit of Happiness.--That to secure these rights, Governments >
> are instituted among Men, deriving their just powers from the >
> consent of the governed, --That whenever any Form of Government >
> becomes destructive of these ends, it is the Right of the People >
> to alter or to abolish it, and to institute new Government, > laying
> its foundation on such principles and organizing its > powers in
> such form, as to them shall seem most likely to effect > their
> Safety and Happiness
>
> We hold these truths to be self-evident, that all men are created
> equal, that they are endowed by their Creator with certain
> unalienable Rights, that among these are Life, Liberty and the
> pursuit of Happiness.--That to secure these rights, Governments are
> instituted among Men, deriving their just powers from the consent of
> the governed, --That whenever any Form of Government becomes
> destructive of these ends, it is the Right of the People to alter or
> to abolish it, and to institute new Government, laying its
> foundation on such principles and organizing its powers in such
> form, as to them shall seem most likely to effect their Safety and
> Happiness

The syntax highlighting is also broken (note the coloring of the angle brackets for the nested blockquote):

image

Software Versions

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