Skip to content

Commit

Permalink
Merge pull request #71 from danschultzer/fix-spec-error
Browse files Browse the repository at this point in the history
Fix invalid spec
  • Loading branch information
danschultzer authored Mar 24, 2022
2 parents e4e094e + dab8b1d commit 488c5d5
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
# Changelog

## v0.3.15 (TBA)

* Fixed invalid spec in `Premailex.Util.traverse/3`

## v0.3.14 (2022-03-08)

* Added horizontal rule parsing to `Premailex.HTMLToPlainText.process/1`
Expand Down
2 changes: 1 addition & 1 deletion lib/premailex/util.ex
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ defmodule Premailex.Util do
"""

@type html_tree :: Premailex.HTMLParser.html_tree()
@type needle :: binary | html_tree
@type needle :: binary | html_tree | :comment

@doc """
Traverses tree searching for needle, and will call provided function on
Expand Down

0 comments on commit 488c5d5

Please sign in to comment.