Commit 47e3906d authored by Richard Mansfield's avatar Richard Mansfield Committed by Hugh Davenport
Browse files

Add display_default_name dwoo plugin (bug #1009777)

This just html escapes the output of display_default_name.  Existing
calls are modified to avoid double escaping.

Change-Id: I117a748a4d4cdb3313377f3441bbd20567a88fcb
Signed-off-by: default avatarRichard Mansfield <>
parent f76e9b02
* Dwoo {display_default_name} function plugin
* Type: function<br>
* Date: 2012-06-11<br>
* Purpose: Escape output of display_default_name for use in templates
* @version 1.0
function Dwoo_Plugin_display_default_name(Dwoo $dwoo, $user) {
if (!$user) {
return '';
return hsc(display_default_name($user));
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment