Skip to content
This repository was archived by the owner on Dec 15, 2022. It is now read-only.
This repository was archived by the owner on Dec 15, 2022. It is now read-only.

Bad highlighting for empty inline preformatted snippets #238

@mcandre

Description

@mcandre

Prerequisites

Description

When I use backticks to create preformatted code snippets, and the content is empty, then the syntax highlighing messes up.

Steps to Reproduce

  1. Insert two consecutive backticks in a GitHub flavored Markdown file.

Expected behavior:

The syntax highlighter correctly highlights the snippet as an empty inline section.

Actual behavior:

The syntax highlighter continues highlighting past the closing backtick, as if the rest of the file is an inline preformatted snippet, until a third backtick is found.

Reproduces how often:

100%

Versions

Atom : 1.35.1
Electron: 2.0.18
Chrome : 61.0.3163.100
Node : 8.9.3

apm 2.1.3
npm 6.2.0
node 8.9.3 x64
atom 1.35.1
python 2.7.15
git 2.18.0

Additional Information

macOS

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions