mirror of
https://github.com/sbrl/Pepperminty-Wiki.git
synced 2024-12-22 13:45:02 +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.
|
||||
* @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.
|
||||
*/
|
||||
function render_editor($editorName) {
|
||||
return "<span class='editor'>✎ ".htmlentities($editorName)."</span>";
|
||||
return "<span class='editor'>✎ $editorName</span>";
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
Loading…
Reference in a new issue