mirror of
https://github.com/sbrl/Pepperminty-Wiki.git
synced 2024-11-22 16:33:00 +00:00
Bugfix: Tag link escaping at the bottom of every page
This commit is contained in:
parent
0c625cd3da
commit
f07cd96691
4 changed files with 4 additions and 3 deletions
|
@ -20,6 +20,7 @@
|
||||||
- Trim the image url before short image url detection (#108)
|
- Trim the image url before short image url detection (#108)
|
||||||
- Fxed huge issue with `contentonly` display mode.
|
- Fxed huge issue with `contentonly` display mode.
|
||||||
- Improved the search engine indexing algorithm. It now shouldn't choke on certain special characters (`[]{}|`) and will treat them as word boundaries.
|
- Improved the search engine indexing algorithm. It now shouldn't choke on certain special characters (`[]{}|`) and will treat them as word boundaries.
|
||||||
|
- Fixed tag links at the bottom of pages for tags with a single quote (`'`) in them.
|
||||||
|
|
||||||
## v0.12.1
|
## v0.12.1
|
||||||
|
|
||||||
|
|
|
@ -5067,7 +5067,7 @@ register_module([
|
||||||
$content .= "<ul class='page-tags-display'>\n";
|
$content .= "<ul class='page-tags-display'>\n";
|
||||||
foreach($pageindex->$page->tags as $tag)
|
foreach($pageindex->$page->tags as $tag)
|
||||||
{
|
{
|
||||||
$content .= "<li><a href='?action=list-tags&tag=$tag'>$tag</a></li>\n";
|
$content .= "<li><a href='?action=list-tags&tag=" . rawurlencode($tag) . "'>$tag</a></li>\n";
|
||||||
}
|
}
|
||||||
$content .= "\n</ul>\n";
|
$content .= "\n</ul>\n";
|
||||||
}
|
}
|
||||||
|
|
|
@ -194,7 +194,7 @@
|
||||||
"author": "Starbeamrainbowlabs",
|
"author": "Starbeamrainbowlabs",
|
||||||
"description": "Allows you to view pages. You really should include this one.",
|
"description": "Allows you to view pages. You really should include this one.",
|
||||||
"id": "page-view",
|
"id": "page-view",
|
||||||
"lastupdate": 1476906745,
|
"lastupdate": 1478463906,
|
||||||
"optional": false
|
"optional": false
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
|
|
|
@ -110,7 +110,7 @@ register_module([
|
||||||
$content .= "<ul class='page-tags-display'>\n";
|
$content .= "<ul class='page-tags-display'>\n";
|
||||||
foreach($pageindex->$page->tags as $tag)
|
foreach($pageindex->$page->tags as $tag)
|
||||||
{
|
{
|
||||||
$content .= "<li><a href='?action=list-tags&tag=$tag'>$tag</a></li>\n";
|
$content .= "<li><a href='?action=list-tags&tag=" . rawurlencode($tag) . "'>$tag</a></li>\n";
|
||||||
}
|
}
|
||||||
$content .= "\n</ul>\n";
|
$content .= "\n</ul>\n";
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue