Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

WIP: HTML API: Add function to balance tags ala force_balance_tags() #5562

Draft
wants to merge 4 commits into
base: trunk
Choose a base branch
from

Commits on Oct 24, 2023

  1. WIP: HTML API: Add function to balance tags ala force_balance_tags()

    ```php
    $balanced = WP_HTML_Processor::balance_tags( '<p><div><button>First<button><b here>Second' );
    $balanced === '<p></p><div><button>First</button><button><b here>Second</b></button></div>';
    ```
    dmsnell committed Oct 24, 2023
    Configuration menu
    Copy the full SHA
    c6609fa View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    9765c6f View commit details
    Browse the repository at this point in the history
  3. Skip ignored elements

    dmsnell committed Oct 24, 2023
    Configuration menu
    Copy the full SHA
    8c0a6ff View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    fcebbd8 View commit details
    Browse the repository at this point in the history