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

[BUG] [Linter] sms links mistakenly captured as internal #814

Open
3 tasks done
1beb opened this issue Feb 4, 2024 · 0 comments · May be fixed by #815
Open
3 tasks done

[BUG] [Linter] sms links mistakenly captured as internal #814

1beb opened this issue Feb 4, 2024 · 0 comments · May be fixed by #815
Labels
🔍 linter 🦠 bug Something isn't working

Comments

@1beb
Copy link

1beb commented Feb 4, 2024

System Info

  • OS: e.g. ubuntu 22.04
  • Python Version 3,11
  • djLint Version (djlint --version): 1.34
  • template language: django

Issue

sms links, which are external, get marked withL

D018 36:10 (Django) Internal links should use the {% url ... %} pattern. <a class="link-nodec

How To Reproduce

Create any href with sms: .

Contents of .djlintrc/pyproject.toml [tool.djlint]

Zero config

@1beb 1beb added 🔍 linter 🦠 bug Something isn't working labels Feb 4, 2024
@1beb 1beb changed the title [BUG] [Linter] [BUG] [Linter] sms links mistakenly captured as internal Feb 4, 2024
@1beb 1beb linked a pull request Feb 4, 2024 that will close this issue
1 task
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
🔍 linter 🦠 bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant