Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Spurious "level" tags #128

Open
cathoderaydude opened this issue Oct 22, 2024 · 0 comments
Open

Spurious "level" tags #128

cathoderaydude opened this issue Oct 22, 2024 · 0 comments

Comments

@cathoderaydude
Copy link

cathoderaydude commented Oct 22, 2024

I have a very simple blog setup, with a main page consisting solely of:

====== My Posts ======
These are my posts.
{{blog>?5}}
~~NOCACHE~~
~~NOTOC~~

When I look at the generated HTML for the listing, it looks like this:

image

Note the empty div class="level1" between every post. This goes away if I remove the heading from the page, but if there is a heading anywhere, this phenomenon occurs - the level of the most recently applied heading appears over and over.

In my specific case, this is causing a problem for a patch I'm trying to write to add some custom functionality to the post listing. It was not an issue until I tried doing that, and I imagine most people will never notice it's happening, but it still seems to be a bug.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant