Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: taoqf/node-html-parser
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: v7.0.1
Choose a base ref
...
head repository: taoqf/node-html-parser
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: v7.0.2
Choose a head ref
  • 12 commits
  • 9 files changed
  • 4 contributors

Commits on Jan 10, 2025

  1. Configuration menu
    Copy the full SHA
    074bfdc View commit details
    Browse the repository at this point in the history

Commits on Apr 20, 2025

  1. Configuration menu
    Copy the full SHA
    336f0b2 View commit details
    Browse the repository at this point in the history

Commits on Jan 7, 2026

  1. Configuration menu
    Copy the full SHA
    6d73ea3 View commit details
    Browse the repository at this point in the history
  2. fix: #294 Closing tag is missing but valid HTML is still not parseable

    With this change, the valid HTML
    
    > `<body><main class=h-entry><p>hello</main></body>`
    
    is parsed correctly.
    
    Furthermore, p element close tags may be omitted according to the
    [spec](https://html.spec.whatwg.org/multipage/grouping-content.html#the-p-element) if:
    
    > there is no more content in the parent element and the parent element is an HTML element that is not an a, audio, del, ins, map, noscript, or video element, or an autonomous custom element.
    
    With this change, all these cases are handled correctly With the
    exception that there is no exclusion of autonomous custom elements so
    that p elements will be closed incorrectly when they are contained in
    such. However, it is not immediately obvious that node-html-parser
    supports autonomous custom elements, so this omission may not be
    significant.
    ig3 committed Jan 7, 2026
    Configuration menu
    Copy the full SHA
    950865f View commit details
    Browse the repository at this point in the history
  3. fix: test valid.js

    Within valid.js, the test 'hillcrestpartyrentals.html  should return
    Object with valid: false.  not closing <p> tag on line 476' was
    implemented incorrectly. In fact the HTML is valid. All the p elements
    without close tags are contained in td elements and, therefore, the
    closing tag is not required. The return should be true.
    ig3 committed Jan 7, 2026
    Configuration menu
    Copy the full SHA
    a81fc46 View commit details
    Browse the repository at this point in the history
  4. Fix: #227

    Test for #227 was broken by previous commit. This fixes it. All tests
    are now passing.
    ig3 committed Jan 7, 2026
    Configuration menu
    Copy the full SHA
    51528c4 View commit details
    Browse the repository at this point in the history
  5. Merge pull request #288 from olets/285-document-wrapper-node

    docs: `parse()` always adds a wrapper node [#285]
    taoqf authored Jan 7, 2026
    Configuration menu
    Copy the full SHA
    4deab9a View commit details
    Browse the repository at this point in the history
  6. Merge pull request #292 from fiddleplum/o-291

    #291 Made id also update attributes.
    taoqf authored Jan 7, 2026
    Configuration menu
    Copy the full SHA
    b4ec281 View commit details
    Browse the repository at this point in the history
  7. Configuration menu
    Copy the full SHA
    d9f5586 View commit details
    Browse the repository at this point in the history
  8. Configuration menu
    Copy the full SHA
    5625286 View commit details
    Browse the repository at this point in the history
  9. Merge branch 'ig3-294'

    taoqf committed Jan 7, 2026
    Configuration menu
    Copy the full SHA
    d003185 View commit details
    Browse the repository at this point in the history
  10. chore(release): 7.0.2

    taoqf committed Jan 7, 2026
    Configuration menu
    Copy the full SHA
    f7a190c View commit details
    Browse the repository at this point in the history
Loading