Skip to content

Commit 475af00

Browse files
committed
Fix header markdown escaping
1 parent 0bea029 commit 475af00

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Converter.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -254,7 +254,7 @@ public function __construct($linkPosition = self::LINK_AFTER_CONTENT, $bodyWidth
254254
$search = [];
255255
$replace = [];
256256
foreach ($this->escapeInText as $s => $r) {
257-
array_push($search, '@(?<!\\\)' . $s . '@U');
257+
array_push($search, '@(?<!\\\)' . $s . '@mU');
258258
array_push($replace, $r);
259259
}
260260
$this->escapeInText = [

0 commit comments

Comments
 (0)