regex fix
This commit is contained in:
parent
de02fb6581
commit
cc06ccad78
@ -17,7 +17,7 @@ class markup {
|
|||||||
|
|
||||||
else {
|
else {
|
||||||
// collect references
|
// collect references
|
||||||
$re = '/^<p>(\[([io]?\d{1,2})]) (.*?)<\/p>/m';
|
$re = '/^<p>(\[([io]?\d{1,2})]) (.*?)<\/p>/ms';
|
||||||
$result = preg_match_all($re, $html, $matches);
|
$result = preg_match_all($re, $html, $matches);
|
||||||
if (pcre_no_error($result)) {
|
if (pcre_no_error($result)) {
|
||||||
$reftitles_map = [];
|
$reftitles_map = [];
|
||||||
|
Loading…
x
Reference in New Issue
Block a user