Skip to content

Commit

Permalink
Update rules.yaml
Browse files Browse the repository at this point in the history
  • Loading branch information
Mouarius authored Aug 26, 2023
1 parent d66c421 commit aa78ca7
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/djlint/rules.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -237,8 +237,8 @@
name: H033
message: Extra whitespace found in form action.
patterns:
- <form[^>]+?(?<!\w-)action=['|"]\s
- <form[^>]+?(?<!\w-)action=(['|"])({{(?:(?!}}).)*}}|{%(?:(?!%}).)*%}|([^"'{]))*\s+?\1
- <form[^>]*\saction=['|"]\s
- <form[^>]*\saction=(['|"])({{(?:(?!}}).)*}}|{%(?:(?!%}).)*%}|([^"'{]))*\s+?\1
- rule:
name: T034
message: Did you intend to use {% ... %} instead of {% ... }%?
Expand Down

0 comments on commit aa78ca7

Please sign in to comment.