wikiheaders: fixed regex for converting markdown bold+italic to mediawiki.

This commit is contained in:
Ryan C. Gordon 2021-03-25 12:52:15 -04:00
parent f55445422a
commit ab7944f960
No known key found for this signature in database
GPG Key ID: FA148B892AB48044

View File

@ -127,7 +127,7 @@ sub wikify {
$str =~ s/\`(.*?)\`/<code>$1<\/code>/gms; $str =~ s/\`(.*?)\`/<code>$1<\/code>/gms;
# bold+italic # bold+italic
$str =~ s/\\*\*\*(.*?)\*\*\*/'''''$1'''''/gms; $str =~ s/\*\*\*(.*?)\*\*\*/'''''$1'''''/gms;
# bold # bold
$str =~ s/\*\*(.*?)\*\*/'''$1'''/gms; $str =~ s/\*\*(.*?)\*\*/'''$1'''/gms;