We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent cf7d90f commit 91bf1d4Copy full SHA for 91bf1d4
src/Converter.php
@@ -152,7 +152,7 @@ function markdownToBB(): self {
152
}
153
foreach ($prefixes as $md => $bb){
154
$md = preg_quote($md);
155
- $this->text = preg_replace("/^{$md}(?:\s*)(.*?)$}/", "[{$bb}]$1[/{$bb}]", $this->text);
+ $this->text = preg_replace("/^{$md}(?:\s*)(.*?)$/m", "[{$bb}]$1[/{$bb}]", $this->text);
156
157
//
158
// foreach (static::$bbPrefixes as $bb => $md){
0 commit comments