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

SITEMAP #1

Open
NicoleSharp opened this issue Sep 5, 2023 · 1 comment
Open

SITEMAP #1

NicoleSharp opened this issue Sep 5, 2023 · 1 comment
Labels
good first issue Good for newcomers help wanted Extra attention is needed

Comments

@NicoleSharp
Copy link

NicoleSharp commented Sep 5, 2023

The syntax highlighting for "Sitemap" is inconsistent when following either a colon (":") or a forward slash ("/") at the end of the previous line: https://www.nicolesharp.net/wiki/ROBOTS


User-agent: *
Disallow:
Sitemap: https://www.example.net/sitemap.txt
# Security: https://www.example.net/security.txt


User-agent: *
Disallow: /testbox/
Sitemap: https://www.example.net/sitemap.txt
# Security: https://www.example.net/security.txt

@joshgoebel
Copy link
Member

Confirm. Because the use of \s* after : is too broad and will also matching the \n from a new line...

@joshgoebel joshgoebel added help wanted Extra attention is needed good first issue Good for newcomers labels Sep 5, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
good first issue Good for newcomers help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

2 participants