diff --git a/Markdown.pl b/Markdown.pl index cba741e..c52f532 100755 --- a/Markdown.pl +++ b/Markdown.pl @@ -726,8 +726,8 @@ sub _StripLinkDefinitions { my ($block_tags_a, $block_tags_b); BEGIN { - $block_tags_a = qr/p|div|h[1-6]|blockquote|pre|table|dl|ol|ul|script|noscript|form|fieldset|iframe|math|ins|del/o; - $block_tags_b = qr/p|div|h[1-6]|blockquote|pre|table|dl|ol|ul|script|noscript|form|fieldset|iframe|math/o; + $block_tags_a = qr/p|div|h[1-6]|blockquote|pre|table|dl|ol|ul|script|noscript|form|fieldset|iframe|math|ins|del/io; + $block_tags_b = qr/p|div|h[1-6]|blockquote|pre|table|dl|ol|ul|script|noscript|form|fieldset|iframe|math/io; } sub _HashHTMLBlocks { @@ -768,7 +768,7 @@ sub _HashHTMLBlocks { my $key = block_id($1); $g_html_blocks{$key} = $1; "\n\n" . $key . "\n\n"; - }egmx; + }eigmx; # @@ -789,14 +789,14 @@ sub _HashHTMLBlocks { my $key = block_id($1); $g_html_blocks{$key} = $1; "\n\n" . $key . "\n\n"; - }egmx; + }eigmx; # Special case just for