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

protect: stop noincluded tags breaking headers #2029

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

TollensWP
Copy link
Contributor

Fixes #1870.

If a noincluded protection tag is added at the start of the same line as
a section heading, it will stop the heading from rendering correctly.
A newline will now be added after noincluded tags if the page starts
with ==
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

protect: when adding padlock icon, add a line break if wikicode starts with a heading (==)
1 participant