-
-
Notifications
You must be signed in to change notification settings - Fork 21.5k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix strange behavior with list close tags and empty list tags
Fix the first two points in #61621. Support for two writing ways: compact or loose. The loose one is designed for easy editing in the editor. For this, the first blank line (if exists) right after the list tags (`[ol]`, `[/ol]`, `[ul]`, and `[/ul]`) will be ignored. Make sure the empty list contains at least one item, that is, an empty list is ultimately a list with one item. As a reminder here is a list.
- Loading branch information
Showing
1 changed file
with
62 additions
and
6 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters