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: AddedBytes/HTMLawed
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: master
Choose a base ref
...
head repository: fossar/HTMLawed
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: master
Choose a head ref
Checking mergeability… Don’t worry, you can still create the pull request.
  • 19 commits
  • 7 files changed
  • 3 contributors

Commits on Apr 7, 2023

  1. Update to upstream 1.2.11

    I give up on keeping code style
    
    Signed-off-by: Kevin Decherf <kevin@kdecherf.com>
    Kdecherf committed Apr 7, 2023
    Configuration menu
    Copy the full SHA
    b6c6bc3 View commit details
    Browse the repository at this point in the history
  2. ci: remove cs-fixer job

    It's hard to keep up with upstream when having different coding styles
    
    Signed-off-by: Kevin Decherf <kevin@kdecherf.com>
    Kdecherf committed Apr 7, 2023
    Configuration menu
    Copy the full SHA
    d4e7139 View commit details
    Browse the repository at this point in the history

Commits on May 22, 2023

  1. Merge pull request fossar#13 from Kdecherf/backport/1.2.11

    Update to upstream 1.2.11
    j0k3r authored May 22, 2023
    Configuration menu
    Copy the full SHA
    8aa21f9 View commit details
    Browse the repository at this point in the history

Commits on May 23, 2023

  1. Update to upstream 1.2.13

    Signed-off-by: Kevin Decherf <kevin@kdecherf.com>
    Kdecherf committed May 23, 2023
    Configuration menu
    Copy the full SHA
    c0490ed View commit details
    Browse the repository at this point in the history

Commits on May 24, 2023

  1. Merge pull request fossar#14 from Kdecherf/backport/1.2.13

    Update to upstream 1.2.13
    Kdecherf authored May 24, 2023
    Configuration menu
    Copy the full SHA
    333f24c View commit details
    Browse the repository at this point in the history

Commits on Jul 22, 2023

  1. Update to upstream 1.2.14

    Signed-off-by: Kevin Decherf <kevin@kdecherf.com>
    Kdecherf committed Jul 22, 2023
    Configuration menu
    Copy the full SHA
    16dad4d View commit details
    Browse the repository at this point in the history
  2. Merge pull request fossar#16 from Kdecherf/backport/1.2.14

    Update to upstream 1.2.14
    Kdecherf authored Jul 22, 2023
    Configuration menu
    Copy the full SHA
    da043c2 View commit details
    Browse the repository at this point in the history
  3. Add testcase for source's srcset attribute

    Signed-off-by: Kevin Decherf <kevin@kdecherf.com>
    Kdecherf committed Jul 22, 2023
    Configuration menu
    Copy the full SHA
    2ea2167 View commit details
    Browse the repository at this point in the history
  4. Merge pull request fossar#15 from Kdecherf/impr/source-srcset

    Add testcase for srcset attribute in source tag
    Kdecherf authored Jul 22, 2023
    Configuration menu
    Copy the full SHA
    2975518 View commit details
    Browse the repository at this point in the history

Commits on Aug 11, 2023

  1. Update to upstream 1.2.15

    Signed-off-by: Kevin Decherf <kevin@kdecherf.com>
    Kdecherf committed Aug 11, 2023
    Configuration menu
    Copy the full SHA
    92fb9e4 View commit details
    Browse the repository at this point in the history

Commits on Aug 12, 2023

  1. Neutralize or remove illegal self-closing tags

    Given default settings `balance=1` and `keep_bad=6` and the following
    input HTML code:
    
        <p>Hello world</p>
        <figure />
        <p>Lorem Ipsum</p>
    
    `hl_tag` and `hl_balance` incorrectly return this, which can lead to
    broken structure:
    
        <p>Hello world</p>
        <figure>
        <p>Lorem Ipsum</p>
        </figure>
    
    So this change lets `hl_tag` neutralize or remove "self-closing" tags
    for which an ending tag is mandatory according to the HTML spec.
    
    Then, the input HTML code above would now be transformed to the
    following code:
    
        <p>Hello world</p>
        <p>Lorem Ipsum</p>
    
    As a side note, `keep_bad=5` would make HTMLawed to return the
    following:
    
        <p>Hello world</p>
        &lt;figure /&gt;
        <p>Lorem Ipsum</p>
    
    References:
    - https://developer.mozilla.org/en-US/docs/Glossary/Void_element
    - https://developer.mozilla.org/en-US/docs/Glossary/Void_element#self-closing_tags
    
    Signed-off-by: Kevin Decherf <kevin@kdecherf.com>
    Kdecherf committed Aug 12, 2023
    Configuration menu
    Copy the full SHA
    e50e630 View commit details
    Browse the repository at this point in the history
  2. fixup! Neutralize or remove illegal self-closing tags

    Signed-off-by: Kevin Decherf <kevin@kdecherf.com>
    Kdecherf committed Aug 12, 2023
    Configuration menu
    Copy the full SHA
    2295cf7 View commit details
    Browse the repository at this point in the history

Commits on Aug 21, 2023

  1. Merge pull request fossar#17 from Kdecherf/backport/1.2.15

    Update to upstream 1.2.15
    j0k3r authored Aug 21, 2023
    Configuration menu
    Copy the full SHA
    7619855 View commit details
    Browse the repository at this point in the history

Commits on Sep 1, 2023

  1. Merge pull request fossar#18 from Kdecherf/feat/prune-selfclosed-tags

    Neutralize or remove illegal self-closing tags
    j0k3r authored Sep 1, 2023
    Configuration menu
    Copy the full SHA
    3721c9d View commit details
    Browse the repository at this point in the history

Commits on Jul 7, 2026

  1. Update GitHub Actions

    j0k3r committed Jul 7, 2026
    Configuration menu
    Copy the full SHA
    259ca08 View commit details
    Browse the repository at this point in the history
  2. Add PHP 8.2, 8.3 & 8.4

    j0k3r committed Jul 7, 2026
    Configuration menu
    Copy the full SHA
    d6d377d View commit details
    Browse the repository at this point in the history
  3. Merge pull request fossar#20 from fossar/fix/ga

    Update GitHub Actions
    j0k3r authored Jul 7, 2026
    Configuration menu
    Copy the full SHA
    a0525d6 View commit details
    Browse the repository at this point in the history
  4. Allow flow content inside details elements

    Fixes HTML5 handling for `<details>` elements. It currently restricts direct children of `<details>` to `<summary>` only, which removes valid flow content after the summary.
    
    Html source:
    
    ```html
    <details><summary>short description</summary><p>Hidden long text</p></details>
    ```
    
    Result before the fix:
    
    ```html
    <details><summary>short description</summary></details>
    ```
    
    Result after the fix:
    
    ```html
    <details><summary>short description</summary><p>Hidden long text</p></details>
    ```
    j0k3r committed Jul 7, 2026
    Configuration menu
    Copy the full SHA
    865c503 View commit details
    Browse the repository at this point in the history

Commits on Jul 9, 2026

  1. Merge pull request fossar#19 from fossar/fix/details-flow-content

    Allow flow content inside details elements
    j0k3r authored Jul 9, 2026
    Configuration menu
    Copy the full SHA
    9a0f98d View commit details
    Browse the repository at this point in the history
Loading
⌂ Proxy