mattermost-community/focalboard

Bug: Markdown renders headers indented if immediately following a list

Offen

#2.325 geöffnet am 11.02.2022

 (2 Kommentare) (0 Reaktionen) (1 zugewiesene Person)TypeScript (2.542 Forks)user submission
BugHelp WantedSev/3

Repository-Metriken

Stars
 (26.187 Sterne)
PR-Merge-Metriken
 (Keine gemergten PRs in 30 T)

Beschreibung

Steps to reproduce the behavior

  1. Open a card and edit its description
  2. Paste in the following markdown:
* List item 1
* List item 2
* List item 3
## Header immediately following list
Notice that the header is indented

* List item 1
* List item 2
* List item 3

## Header with a space between list above
Indentation is ok if a space is inserted between the header and list
  1. The first header (and following text) is indented

Expected behavior

Headers and text should not be indented, even if immediately following a list

Screenshots

Edition and Platform

  • Edition: Personal Desktop / Personal Server / Mattermost plugin
  • Version: v0.14.0
  • Browser and OS: Chrome on Mac

Additional context

The indentation appears correct when editing, but not after saving.

Contributor Guide