1.5
Added:
- Introduced a new method
setOptions($options)to allow users to update or set new configurations for the parser. - Explicit declaration for the
$optionsproperty to ensure compatibility with PHP 8.2's deprecation of dynamic properties. - Added setters for each option
Modified:
- Updated the
__construct()method to initialize default options. - Replaced
DynamicClassto a new class alias ParsedownExtendedParentAlias to refer to the parent class, either ParsedownExtra or Parsedown, based on their availability. Thanks to @raffaelj #15 - Enhanced the
createAnchorIDmethod:- Integrated the
iconvfunction for transliteration of header text to ASCII.
- Integrated the
- Changed Transliterate to use the PHP build-in iconv