Bug: two blank lines will be inserted between headings and tags if enable heading-blank-lines with Bottom=true
See original GitHub issueDescribe the Bug
Hi, I usually write diary in this format:
## diary
#study
blah blah blah
#life
blah blah blah
And after linting, there would be two blank lines between ## diary
and #study
.
How to Reproduce
Steps to reproduce the behavior:
- Enable the option
heading-blank-lines
andBottom
. - Create a note like above.
- Lint the file
- See two blank lines between heading and tag.
Expected Behavior
Same as input.
Device
- Desktop
- Mobile
Issue Analytics
- State:
- Created 10 months ago
- Comments:5
Top Results From Across the Web
Table of content extra blank line added between heading 2 ...
I am trying to make a table of contents. I am working with main Heading 1s but then also have Heading 2s occasionally....
Read more >Headings should be surrounded by blank lines · Issue #143 ...
I'd like to configure this warning to: Require a preceding empty line (as it already does) Not requiring a following empty line So...
Read more >Bug? Confluence inserting blank line at top of page
Is this driving anyone else batty? Very often Confluence will insert a blank line at the top of the page after I've gone...
Read more >It seems impossible to have 2 blank lines between p tags ...
So, again I want to insert 2 (or any number ) lines instead of 1 between A and B elements without any modification...
Read more >Using Standard Text Formatting For Headings - WCAG WG
This programmatic layout will enable screen readers to voice blank lines twice before the text that will be considered as a heading.
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
This should be fixed on master and in the next release of the plugin. Please let us know if that is not the case.
Yeah. I see that the issue is ignoring tags when I don’t need to. It also ignores the last whitespace character with it as well which is what is causing the problem. I have a fix that seems to be working that I will push up to master.