From 1c02e47e69ab91105494e8eb61857f49743d3c08 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?G=C3=A1bor=20Hojtsy?= Date: Tue, 20 Nov 2007 11:39:48 +0000 Subject: [PATCH] #192201 by myself: remove overly secure check_markup() and check_plain() usage which results in double escaped output --- modules/profile/profile.module | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/modules/profile/profile.module b/modules/profile/profile.module index 8f0458984ab..33ba23ea69e 100644 --- a/modules/profile/profile.module +++ b/modules/profile/profile.module @@ -312,8 +312,8 @@ function profile_view_profile(&$user) { $user->content[$field->category][$field->name] = array( '#type' => 'user_profile_item', - '#title' => check_plain($title), - '#value' => check_markup($value), + '#title' => $title, + '#value' => $value, '#weight' => $field->weight, '#attributes' => array('class' => 'profile-'. $field->name), );