Commit 7c1de1f
committed
bug #2833 [TwigComponent] Fix escaping of Alpine.js attribute keys containing numeric characters (klausi85)
This PR was squashed before being merged into the 2.x branch.
Discussion
----------
[TwigComponent] Fix escaping of Alpine.js attribute keys containing numeric characters
| Q | A
| ------------- | ---
| Bug fix? | yes
| New feature? | no
| Docs? | no
| License | MIT
Alpine.js attribute keys like ``@input`.debounce.500ms` (see https://alpinejs.dev/directives/on#debounce) will now be correctly handled without being escaped.
Commits
-------
dc992f7 [TwigComponent] Fix escaping of Alpine.js attribute keys containing numeric charactersFile tree
2 files changed
+2
-1
lines changed- src/TwigComponent
- src
- tests/Unit
2 files changed
+2
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
80 | 80 | | |
81 | 81 | | |
82 | 82 | | |
83 | | - | |
| 83 | + | |
84 | 84 | | |
85 | 85 | | |
86 | 86 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
324 | 324 | | |
325 | 325 | | |
326 | 326 | | |
| 327 | + | |
327 | 328 | | |
328 | 329 | | |
329 | 330 | | |
| |||
0 commit comments