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

Wp html processor text based #2

Open
wants to merge 43 commits into
base: trunk
Choose a base branch
from

Commits on Feb 21, 2023

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

Commits on Feb 22, 2023

  1. Emit text tokens

    adamziel committed Feb 22, 2023
    Configuration menu
    Copy the full SHA
    0bdd4f6 View commit details
    Browse the repository at this point in the history
  2. WP_HTML_Tag_Processor: Use the correct starting position when bookmar…

    …king a tag closer
    
    This commit marks the start of a bookmark one byte before
    the tag name start for tag openers, and two bytes before
    the tag name for tag closers.
    
    Setting a bookmark on a tag should set its "start" position
    before the opening "<", e.g.:
    
    ```
    <div> Testing a <b>Bookmark</b>
    ----------------^
    ```
    
    The current calculation assumes this is always one byte
    to the left from $tag_name_starts_at.
    
    However, in tag closers that index points to a solidus
    symbol "/":
    
    ```
    <div> Testing a <b>Bookmark</b>
    ----------------------------^
    ```
    
    The bookmark should therefore start two bytes before the tag name:
    
    ```
    <div> Testing a <b>Bookmark</b>
    ---------------------------^
    ```
    adamziel committed Feb 22, 2023
    Configuration menu
    Copy the full SHA
    9026d1c View commit details
    Browse the repository at this point in the history
  3. Merge branch 'html-api-start-bookmarks-before-tag-opener-also-in-tag-…

    …closers' into wp_html_processor
    adamziel committed Feb 22, 2023
    Configuration menu
    Copy the full SHA
    a24349a View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    ff9505b View commit details
    Browse the repository at this point in the history
  5. Implement DOM insertion

    adamziel committed Feb 22, 2023
    Configuration menu
    Copy the full SHA
    afbfdc5 View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    9d31cb7 View commit details
    Browse the repository at this point in the history
  7. Correctly cose the p tags

    adamziel committed Feb 22, 2023
    Configuration menu
    Copy the full SHA
    eeea95a View commit details
    Browse the repository at this point in the history
  8. Simplify HTML Processor

    adamziel committed Feb 22, 2023
    Configuration menu
    Copy the full SHA
    ddf2c73 View commit details
    Browse the repository at this point in the history
  9. Configuration menu
    Copy the full SHA
    db40a94 View commit details
    Browse the repository at this point in the history
  10. Uncomment some test inputs

    adamziel committed Feb 22, 2023
    Configuration menu
    Copy the full SHA
    ea4f392 View commit details
    Browse the repository at this point in the history
  11. Document insert_node

    adamziel committed Feb 22, 2023
    Configuration menu
    Copy the full SHA
    66fd636 View commit details
    Browse the repository at this point in the history

Commits on Feb 23, 2023

  1. Simplify ignore_token()

    adamziel committed Feb 23, 2023
    Configuration menu
    Copy the full SHA
    93fea6c View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    fd2ddcf View commit details
    Browse the repository at this point in the history
  3. Doodling more

    adamziel committed Feb 23, 2023
    Configuration menu
    Copy the full SHA
    faf724e View commit details
    Browse the repository at this point in the history

Commits on Feb 27, 2023

  1. Configuration menu
    Copy the full SHA
    0565b6b View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    a287999 View commit details
    Browse the repository at this point in the history
  3. Remove Object-oriented logic

    adamziel committed Feb 27, 2023
    Configuration menu
    Copy the full SHA
    7430067 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    4f6ec24 View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    3a0ed5f View commit details
    Browse the repository at this point in the history

Commits on Feb 28, 2023

  1. Configuration menu
    Copy the full SHA
    a7d76e7 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    0663a48 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    7887401 View commit details
    Browse the repository at this point in the history
  4. Clean up the API

    adamziel committed Feb 28, 2023
    Configuration menu
    Copy the full SHA
    481fce5 View commit details
    Browse the repository at this point in the history
  5. Cleanup the API

    adamziel committed Feb 28, 2023
    Configuration menu
    Copy the full SHA
    140459e View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    26c6f21 View commit details
    Browse the repository at this point in the history
  7. Configuration menu
    Copy the full SHA
    37659fb View commit details
    Browse the repository at this point in the history
  8. First stab at traversal API

    adamziel committed Feb 28, 2023
    Configuration menu
    Copy the full SHA
    956ad3b View commit details
    Browse the repository at this point in the history
  9. Configuration menu
    Copy the full SHA
    9889d4d View commit details
    Browse the repository at this point in the history
  10. Configuration menu
    Copy the full SHA
    612cc83 View commit details
    Browse the repository at this point in the history
  11. Configuration menu
    Copy the full SHA
    4970159 View commit details
    Browse the repository at this point in the history
  12. Configuration menu
    Copy the full SHA
    3dfccc5 View commit details
    Browse the repository at this point in the history

Commits on Mar 1, 2023

  1. Configuration menu
    Copy the full SHA
    79f90ce View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    4efef0b View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    0e3799b View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    ab608e5 View commit details
    Browse the repository at this point in the history
  5. Simplify unit tests

    adamziel committed Mar 1, 2023
    Configuration menu
    Copy the full SHA
    5be3ba1 View commit details
    Browse the repository at this point in the history
  6. Add a complex use-case test

    adamziel committed Mar 1, 2023
    Configuration menu
    Copy the full SHA
    7d19b9b View commit details
    Browse the repository at this point in the history
  7. Configuration menu
    Copy the full SHA
    cb9d35d View commit details
    Browse the repository at this point in the history
  8. Configuration menu
    Copy the full SHA
    3b27ca2 View commit details
    Browse the repository at this point in the history

Commits on Mar 2, 2023

  1. Configuration menu
    Copy the full SHA
    802e1c0 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    13badeb View commit details
    Browse the repository at this point in the history
  3. Remove debug artifacts

    adamziel committed Mar 2, 2023
    Configuration menu
    Copy the full SHA
    2918ada View commit details
    Browse the repository at this point in the history