mirror of
https://github.com/Hopiu/djLint.git
synced 2026-05-05 12:24:43 +00:00
parent
f135101cd8
commit
6c2d843c2f
2 changed files with 5 additions and 2 deletions
|
|
@ -506,7 +506,7 @@ class Config:
|
||||||
rf"""
|
rf"""
|
||||||
(?:
|
(?:
|
||||||
(
|
(
|
||||||
(?:\w|-|\.)+ | required | checked
|
(?:\w|-|\.|\:|@)+ | required | checked
|
||||||
)? # attribute name
|
)? # attribute name
|
||||||
(?: [ ]*?=[ ]*? # followed by "="
|
(?: [ ]*?=[ ]*? # followed by "="
|
||||||
(
|
(
|
||||||
|
|
|
||||||
|
|
@ -23,7 +23,10 @@ def test_alpine_js(runner: CliRunner, tmp_file: TextIO) -> None:
|
||||||
b"""<div id="collapse"
|
b"""<div id="collapse"
|
||||||
x-data="{ show: true }"
|
x-data="{ show: true }"
|
||||||
x-show="show"
|
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
|
assert output.exit_code == 0
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue