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

Remove dependence on mbstring extension #221

Open
wants to merge 12 commits into
base: main
Choose a base branch
from

Commits on Sep 11, 2020

  1. Configuration menu
    Copy the full SHA
    b4aee06 View commit details
    Browse the repository at this point in the history
  2. Remove unnecessary use of mbstring

    The classname prefixes are always ASCII, so mb_ functions are not needed
    JKingweb committed Sep 11, 2020
    Configuration menu
    Copy the full SHA
    5c7c883 View commit details
    Browse the repository at this point in the history
  3. Make mbstring in unicodeToHtmlEntities optional

    It's unclear what problems the function was originallymeant to solve;
    it is equally unclear the problems still exist
    JKingweb committed Sep 11, 2020
    Configuration menu
    Copy the full SHA
    9c3a5a3 View commit details
    Browse the repository at this point in the history

Commits on Apr 7, 2021

  1. Configuration menu
    Copy the full SHA
    1965f9a View commit details
    Browse the repository at this point in the history
  2. Fix standard test harness

    JKingweb committed Apr 7, 2021
    Configuration menu
    Copy the full SHA
    25c8ff4 View commit details
    Browse the repository at this point in the history

Commits on Apr 3, 2023

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

Commits on Apr 7, 2023

  1. Perform encoding detection as a browser would

    This is the result of extension testing against PHP 5.6 through
    PHP 8.2 in Linux and Windows to determine how encoding detection
    actually works in DOMDocument
    JKingweb committed Apr 7, 2023
    Configuration menu
    Copy the full SHA
    adf2eb8 View commit details
    Browse the repository at this point in the history
  2. Revert changes to tests which are not needed

    As UTF-8 is now heuristically detected, no explicit encoding declaration
    is required
    JKingweb committed Apr 7, 2023
    Configuration menu
    Copy the full SHA
    04b947f View commit details
    Browse the repository at this point in the history
  3. Consider BOMs correctly

    JKingweb committed Apr 7, 2023
    Configuration menu
    Copy the full SHA
    69825b6 View commit details
    Browse the repository at this point in the history

Commits on Apr 8, 2023

  1. Configuration menu
    Copy the full SHA
    9e93f7f View commit details
    Browse the repository at this point in the history
  2. Handle x-user-defined and replacement

    Neither is likely to appear in a real HTML document; x-user-defined is
    not actually supported properly, but it's unlikely to be used for HTML
    JKingweb committed Apr 8, 2023
    Configuration menu
    Copy the full SHA
    f3cbf76 View commit details
    Browse the repository at this point in the history

Commits on Apr 16, 2023

  1. Add tests and correct two bugs

    All new lines are covered, and an effort was made to cover as many
    permutations of PCRE matches as practical
    JKingweb committed Apr 16, 2023
    Configuration menu
    Copy the full SHA
    10dda46 View commit details
    Browse the repository at this point in the history