Skip to content

Files ending with an empty blockquote don't render #1735

@ThomasFOG

Description

@ThomasFOG

Description

Hello there!

I noticed that when a file ends with an empty blockquote, MarkText will not be able to render it and won't allow to be edited anymore. If there is multiple tabs opened, MarkText will show the last rendered file instead of the one it can't render.

Cheers! Keep up the good work!

  • Can you reproduce the issue?

Steps to reproduce

Create a file with this content:

Some text

>

Try to open it with MarkText.

Expected behavior:

File should render normally and be editable.

Actual behavior:

The file doesn't render (blank page) or that tab contains the previously rendered file if multiple ones are open and it can't be edited.

Versions

  • Mark Text: 0.15.1
  • Operating system: Windows 10 (build 1903)

Metadata

Metadata

Assignees

No one assigned

    Labels

    🐳 help wantedExtra attention is needed🐛 bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions