Skip to content

1.5

Choose a tag to compare

@BenjaminHoegh BenjaminHoegh released this 13 Aug 06:02
· 104 commits to master since this release
7dc0e82

Added:

  1. Introduced a new method setOptions($options) to allow users to update or set new configurations for the parser.
  2. Explicit declaration for the $options property to ensure compatibility with PHP 8.2's deprecation of dynamic properties.
  3. Added setters for each option

Modified:

  1. Updated the __construct() method to initialize default options.
  2. Replaced DynamicClass to a new class alias ParsedownExtendedParentAlias to refer to the parent class, either ParsedownExtra or Parsedown, based on their availability. Thanks to @raffaelj #15
  3. Enhanced the createAnchorID method:
    • Integrated the iconv function for transliteration of header text to ASCII.
  4. Changed Transliterate to use the PHP build-in iconv