mirror of
https://github.com/erusev/parsedown.git
synced 2023-08-10 21:13:06 +03:00
Add comma to specialCharacters list
This solves wrong behaviour with escaped commas. You can see this wrong behaiviour using "1\. Hello\, world!" phrase at https://parsedown.org/demo
This commit is contained in:
parent
6598f3860c
commit
16ed9592f7
@ -1961,7 +1961,7 @@ class Parsedown
|
||||
# Read-Only
|
||||
|
||||
protected $specialCharacters = array(
|
||||
'\\', '`', '*', '_', '{', '}', '[', ']', '(', ')', '>', '#', '+', '-', '.', '!', '|', '~'
|
||||
'\\', '`', '*', '_', '{', '}', '[', ']', '(', ')', '>', '#', '+', '-', '.', '!', '|', '~', ','
|
||||
);
|
||||
|
||||
protected $StrongRegex = array(
|
||||
|
Loading…
Reference in New Issue
Block a user