Skip to content

Commit

Permalink
Merge branch 'feature-heading-selector' into release-0.2.0
Browse files Browse the repository at this point in the history
  • Loading branch information
teonator committed Apr 22, 2024
2 parents c0e5ea7 + 1590918 commit 9cf613a
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions services/HTMLImportService.cfc
Original file line number Diff line number Diff line change
Expand Up @@ -248,6 +248,10 @@ component {
required string elementHtml
, required string tagSelector
) {
if ( $helpers.isEmptyString( arguments.tagSelector ) ) {
return false;
}

var element = variables._jsoup.parse( arguments.elementHtml );
var selectedElement = element.select( arguments.tagSelector );

Expand Down

0 comments on commit 9cf613a

Please sign in to comment.