Skip to content

Commit

Permalink
doc: update CHANGELOG and some doc strings
Browse files Browse the repository at this point in the history
[skip ci]
  • Loading branch information
flavorjones committed May 1, 2024
1 parent b63867a commit bbe3531
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 3 deletions.
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
## [Unreleased]

- Use a `<template>` tag as the context node for the majority of fragment parsing, which greatly simplifies this gem. #7 @flavorjones @stevecheckoway
- Clean up the README. @marcoroth


## [0.2.0] - 2024-04-26

- When a `<head>` tag is seen first in the input string, include the `<body>` tag in the returned fragment or node set. (#3, #4) @flavorjones
Expand Down
6 changes: 3 additions & 3 deletions lib/nokogiri/html5/inference.rb
Original file line number Diff line number Diff line change
Expand Up @@ -106,9 +106,9 @@ class << self
#
# [Keyword Parameters]
# - +pluck+ (Boolean) Default: +true+. Set to +false+ if you want the method to always
# return <tt>DocumentFragment</tt>s as-parsed, without attempting to remove
# intermediate parent nodes. This shouldn't be necessary if the library is working
# properly, but may be useful to allow user to work around a bad guess.
# return what Nokogiri parsed, without attempting to remove any sibling or intermediate
# parent nodes. This shouldn't be necessary if the library is working properly, but may
# be useful to allow user to work around a bad guess.
#
# [Returns]
# - A +Nokogiri::HTML5::Document+ if the input appears to represent a full document.
Expand Down

0 comments on commit bbe3531

Please sign in to comment.