-
Notifications
You must be signed in to change notification settings - Fork 29
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
``` ** (FunctionClauseError) no function clause matching in Floki.Selector.Parser.do_parse/2 The following arguments were given to Floki.Selector.Parser.do_parse/2: # 1 [{~c"]", 1}] # 2 %Floki.Selector{id: nil, type: "input", classes: [], attributes: [%Floki.Selector.AttributeSelector{match_type: :equal, attribute: "name", value: "payer", flag: nil}, %Floki.Selector.AttributeSelector{match_type: :equal, attribute: "type", value: "hidden", flag: nil}], namespace: nil, pseudo_classes: [], combinator: nil} Attempted function clauses (showing 10 out of 21): defp do_parse([], selector) defp do_parse([{:close_parentesis, _} | t], selector) defp do_parse([{:comma, _} | t], selector) defp do_parse([{:identifier, _, namespace}, {:namespace_pipe, _} | t], selector) defp do_parse([{:identifier, _, type} | t], selector) defp do_parse([{~c"*", _} | t], selector) defp do_parse([{:hash, _, id} | t], selector) defp do_parse([{:class, _, class} | t], selector) defp do_parse([{~c"[", _} | t], selector) defp do_parse([{:pseudo_not, _} | t], selector) ... (11 clauses not shown) ``` This commit escapes brackets in the hidden input name by wrapping it in single quotes.
- Loading branch information
1 parent
2e032ef
commit e3f3557
Showing
23 changed files
with
853 additions
and
299 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -24,3 +24,6 @@ phoenix_test-*.tar | |
|
||
# Temporary files, for example, from tests. | ||
/tmp/ | ||
|
||
/priv/static/assets/ | ||
.envrc |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.