diff --git a/src/thirdparty/ParsedownExtended.php b/src/thirdparty/ParsedownExtended.php index 2eafcec..c2390fd 100644 --- a/src/thirdparty/ParsedownExtended.php +++ b/src/thirdparty/ParsedownExtended.php @@ -712,14 +712,14 @@ class ParsedownExtended extends Parsedown // Define substitutions for various typographic symbols $substitutions = [ - '/\(c\)/i' => html_entity_decode('©'), // Replace (c) with © symbol - '/\(r\)/i' => html_entity_decode('®'), // Replace (r) with ® symbol - '/\(tm\)/i' => html_entity_decode('™'), // Replace (tm) with ™ symbol + // '/\(c\)/i' => html_entity_decode('©'), // Replace (c) with © symbol + // '/\(r\)/i' => html_entity_decode('®'), // Replace (r) with ® symbol + // '/\(tm\)/i' => html_entity_decode('™'), // Replace (tm) with ™ symbol '/\(p\)/i' => html_entity_decode('¶'), // Replace (p) with ¶ symbol (paragraph) '/\+-/i' => html_entity_decode('±'), // Replace +- with ± symbol - '/\!\.{3,}/i' => '!..', // Replace more than three exclamation points with '!..' - '/\?\.{3,}/i' => '?..', // Replace more than three question marks with '?..' - '/\.{2,}/i' => $ellipses, // Replace ellipses with either smart ellipses or '...' + // '/\!\.{3,}/i' => '!..', // Replace more than three exclamation points with '!..' + // '/\?\.{3,}/i' => '?..', // Replace more than three question marks with '?..' + // '/\.{2,}/i' => $ellipses, // Replace ellipses with either smart ellipses or '...' ]; // Apply substitutions using regular expressions