mirror of
https://github.com/sbrl/Pepperminty-Wiki.git
synced 2024-11-22 04:23:01 +00:00
page history: fix username rendering
This commit is contained in:
parent
0a950425e1
commit
525dbaa3e1
1 changed files with 2 additions and 2 deletions
|
@ -688,11 +688,11 @@ function render_pagename($rchange) {
|
||||||
/**
|
/**
|
||||||
* Renders an editor's or a group of editors name(s) in HTML.
|
* Renders an editor's or a group of editors name(s) in HTML.
|
||||||
* @package core
|
* @package core
|
||||||
* @param string $editorName The name of the editor to render.
|
* @param string $editorName The name of the editor to render. Note that this may contain ARBITRARY HTML! In other words, make sure that the editor name(s) are sanitized (e.g. htmlentities()'d) before padding to this function.
|
||||||
* @return string HTML representing the given editor's name.
|
* @return string HTML representing the given editor's name.
|
||||||
*/
|
*/
|
||||||
function render_editor($editorName) {
|
function render_editor($editorName) {
|
||||||
return "<span class='editor'>✎ ".htmlentities($editorName)."</span>";
|
return "<span class='editor'>✎ $editorName</span>";
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|
Loading…
Reference in a new issue