Page MenuHomePhabricator

New linter: disallow blank line in the end of a section
Open, Needs TriagePublic

Description

In the code snippet below there will be an blank line rendered at the end of the section, I suppose in almost every case it is a mistake.

== h1 ==
ffff


== h2 ==

ggg

Event Timeline

Golopotw created this task.Thu, Aug 22, 4:34 PM
Restricted Application added a subscriber: Aklapper. · View Herald TranscriptThu, Aug 22, 4:34 PM
Golopotw updated the task description. (Show Details)Thu, Aug 22, 4:35 PM

How is that incorrect or problematic markup?

How is that incorrect or problematic markup?

The rendered blank line looks bad visually.

Feel free to close this if it is out of scope for this project.