1
0
Fork 0
mirror of https://github.com/sbrl/Pepperminty-Wiki.git synced 2024-12-22 01:35:02 +00:00

recent changes: fix broken charactetr when displaying page moves

This commit is contained in:
Starbeamrainbowlabs 2021-09-03 02:01:24 +01:00
parent 525dbaa3e1
commit ec0b556892
Signed by: sbrl
GPG key ID: 1BE5172E637709C2
2 changed files with 3 additions and 2 deletions

View file

@ -36,6 +36,7 @@ This file holds the changelog for Pepperminty Wiki. This is the master list of t
- Fix display of subpages in the sidebar, and also wrap subpage lists in a `<details />` element to allow collapsing them
- Fix file upload error handling logic - a proper error page is now sent to the client
- Create theme gallery help section instead of overwriting the one entitled "Jumping to a random page".
- Fix broken character in recent changes log entry when moving pages
## v0.22

View file

@ -5,7 +5,7 @@
register_module([
"name" => "Recent Changes",
"version" => "0.5.2",
"version" => "0.5.3",
"author" => "Starbeamrainbowlabs",
"description" => "Adds recent changes. Access through the 'recent-changes' action.",
"id" => "feature-recent-changes",
@ -319,7 +319,7 @@ function render_recent_change($rchange)
case "move":
$resultClasses[] = "move";
$result .= "$rchange->oldpage &#11106; <a href='?page=" . rawurlencode($rchange->page) . "'>$pageDisplayHtml</a> $editorDisplayHtml $timeDisplayHtml";
$result .= "$rchange->oldpage &rarr; <a href='?page=" . rawurlencode($rchange->page) . "'>$pageDisplayHtml</a> $editorDisplayHtml $timeDisplayHtml";
break;
case "upload":