-
-
Notifications
You must be signed in to change notification settings - Fork 156
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Update raw_html.ex to handle :attributes_as_maps option (#498)
* Update raw_html.ex When parsing using the new option :attributes_as_maps, I got errors when trying to convert back with the raw_html function. This changes the Map into a list where the error occurs and continues regular processing. * Update floki_test.exs Checking for two ways the raw_html could be recombined since maps order is not guaranteed
- Loading branch information
Showing
2 changed files
with
20 additions
and
0 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
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