diff --git a/.github/workflows/cancel.yml b/.github/workflows/cancel.yml
index 44fdb47..584b244 100644
--- a/.github/workflows/cancel.yml
+++ b/.github/workflows/cancel.yml
@@ -1,5 +1,5 @@
# This action finds in-progress Action jobs for the same branch, and cancels
-# them. There's little point in continuing to run superceded jobs.
+# them. There's little point in continuing to run superseded jobs.
name: cancel
diff --git a/docs/src/_includes/index.njk b/docs/src/_includes/index.njk
index 4b53dfa..61ad4ef 100644
--- a/docs/src/_includes/index.njk
+++ b/docs/src/_includes/index.njk
@@ -129,7 +129,7 @@ date: Last Modified
diff --git a/docs/src/docs/linter.md b/docs/src/docs/linter.md
index ae66f64..3c16d2f 100644
--- a/docs/src/docs/linter.md
+++ b/docs/src/docs/linter.md
@@ -68,7 +68,7 @@ A good rule follows this pattern:
| H023 | Do not use entity references. |
| H024 | Omit type on scripts and styles. |
| H025 | Tag seems to be an orphan. |
-| H026 | Emtpy id and class tags can be removed. |
+| H026 | Empty id and class tags can be removed. |
| T027 | Unclosed string found in template syntax. |
| T028 | Consider using spaceless tags inside attribute values. {% raw %}`{%- if/for -%}`{% endraw %} |
| H029 | Consider using lowercase form method values. |
diff --git a/docs/src/fr/docs/linter.md b/docs/src/fr/docs/linter.md
index f89f53f..7df65c0 100644
--- a/docs/src/fr/docs/linter.md
+++ b/docs/src/fr/docs/linter.md
@@ -70,7 +70,7 @@ Une bonne règle suit ce modèle :
| H023 | N'utilisez pas de références d'entités. |
| H024 | Omettre le type sur les scripts et les styles. |
| H025 | La balise semble être orpheline. |
-| H026 | Les balises Emtpy id et class peuvent être supprimées. |
+| H026 | Les balises id et class vides peuvent être supprimées. |
| T027 | Chaîne non fermée trouvée dans la syntaxe du modèle. |
| T028 | Envisagez d'utiliser des balises sans espace à l'intérieur des valeurs d'attributs. {% raw %}`{%- if/for -%}`{% endraw %} |
| H029 | Pensez à utiliser des valeurs de méthode de formulaire en minuscules. |
diff --git a/docs/src/ru/docs/linter.md b/docs/src/ru/docs/linter.md
index 0447e23..102d720 100644
--- a/docs/src/ru/docs/linter.md
+++ b/docs/src/ru/docs/linter.md
@@ -68,7 +68,7 @@ djlint /path/to/this.html.j2 --profile=jinja
| H023 | Не используйте ссылки на сущности. |
| H024 | Опускайте тип в скриптах и стилях. |
| H025 | Тег кажется бесхозным. |
-| H026 | Теги Emtpy id и class могут быть удалены. |
+| H026 | Пустые теги id и class могут быть удалены. |
| T027 | В синтаксисе шаблона найдена незакрытая строка. |
| T028 | Рассмотрите возможность использования тегов без пробелов внутри значений атрибутов. {% raw %}`{%- if/for -%}`{% endraw %} |
| H029 | Рассмотрите возможность использования строчных значений метода формы. |
diff --git a/src/djlint/formatter/attributes.py b/src/djlint/formatter/attributes.py
index 082d79b..eb962b2 100644
--- a/src/djlint/formatter/attributes.py
+++ b/src/djlint/formatter/attributes.py
@@ -244,7 +244,7 @@ def format_style(match: re.match) -> str:
def format_attributes(config: Config, html: str, match: re.match) -> str:
"""Spread long attributes over multiple lines."""
- # check that we are not inside an ingnored block
+ # check that we are not inside an ignored block
if (
inside_ignored_block(config, html, match)
or len(match.group(3).strip()) < config.max_attribute_length
diff --git a/src/djlint/rules.yaml b/src/djlint/rules.yaml
index 4a7430b..cbd6f56 100644
--- a/src/djlint/rules.yaml
+++ b/src/djlint/rules.yaml
@@ -187,7 +187,7 @@
- <((/?(\w+))\b(\"[^\"]*\"|'[^']*'|{{[^}]*}}|{%[^%]*%}|[^'\">{}])*)(?
- rule:
name: H026
- message: Emtpy id and class tags can be removed.
+ message: Empty id and class tags can be removed.
flags: re.I
patterns:
- <\w+\b[^(?:{(?:%|{|#))>]*?\b(class|id)\b=(\"\"|'')
diff --git a/src/djlint/settings.py b/src/djlint/settings.py
index f1586a7..de0e747 100644
--- a/src/djlint/settings.py
+++ b/src/djlint/settings.py
@@ -349,7 +349,7 @@ class Config:
"""
# ignored block closing tags that
- # we can savely indent.
+ # we can safely indent.
self.safe_closing_tag: str = r"""
None:
assert "H025 1:" in result.output
assert "H025 2:" not in result.output
- # test tags inside attibutes
+ # test tags inside attributes
write_to_file(tmp_file.name, b'Foo')
result = runner.invoke(djlint, [tmp_file.name])
assert "H025" not in result.output