mirror of
https://github.com/Hopiu/djLint.git
synced 2026-03-16 21:40:24 +00:00
parent
f135101cd8
commit
6c2d843c2f
2 changed files with 5 additions and 2 deletions
|
|
@ -506,7 +506,7 @@ class Config:
|
|||
rf"""
|
||||
(?:
|
||||
(
|
||||
(?:\w|-|\.)+ | required | checked
|
||||
(?:\w|-|\.|\:|@)+ | required | checked
|
||||
)? # attribute name
|
||||
(?: [ ]*?=[ ]*? # followed by "="
|
||||
(
|
||||
|
|
|
|||
|
|
@ -23,7 +23,10 @@ def test_alpine_js(runner: CliRunner, tmp_file: TextIO) -> None:
|
|||
b"""<div id="collapse"
|
||||
x-data="{ show: true }"
|
||||
x-show="show"
|
||||
x-transition.duration.500ms></div>""",
|
||||
x-transition.duration.500ms
|
||||
:disabled="!$store.userPreferences.deleteConfirm"
|
||||
@click="clicked=true">
|
||||
</div>""",
|
||||
)
|
||||
|
||||
assert output.exit_code == 0
|
||||
|
|
|
|||
Loading…
Reference in a new issue