git.shiar.nl
/
minimedit.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
issue/activity: prevent abbreviation of subsequent images
[minimedit.git]
/
widget
/
issue
/
activity.php
diff --git
a/widget/issue/activity.php
b/widget/issue/activity.php
index a153f872c0763d6a7670c28ec1cdfb87bd3d0039..df872ae621f7eb73b75764932a8017295bd12d86 100644
(file)
--- a/
widget/issue/activity.php
+++ b/
widget/issue/activity.php
@@
-11,8
+11,8
@@
$query = $Db->query($sql);
$rows = $query->fetchall();
$msgformat = [
$rows = $query->fetchall();
$msgformat = [
+ '{(.*)(<p><img [^>]+></p>)\s*}s' => "$2$1",
"{(?=</p>\n).+}s" => ' <small class="footer">(Meer op de site)</small>',
"{(?=</p>\n).+}s" => ' <small class="footer">(Meer op de site)</small>',
- '{(.*)(<p><img [^>]+></p>)\s*}s' => "$2\n$1",
'{(?<=<img src=")(?:/thumb/[^/]+)?(?=/)}' => '/thumb/300x',
];
'{(?<=<img src=")(?:/thumb/[^/]+)?(?=/)}' => '/thumb/300x',
];