From 933cfe7f77b2d3ad2488a6e77a3d1cacabc6fa4d Mon Sep 17 00:00:00 2001 From: Marc Delisle Date: Sat, 22 Mar 2003 11:24:48 +0000 Subject: [PATCH] link was not working here --- libraries/transformations/text_plain__link.inc.php3 | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/libraries/transformations/text_plain__link.inc.php3 b/libraries/transformations/text_plain__link.inc.php3 index 5c23fb499..261a87cb0 100644 --- a/libraries/transformations/text_plain__link.inc.php3 +++ b/libraries/transformations/text_plain__link.inc.php3 @@ -8,11 +8,13 @@ if (!defined('PMA_TRANSFORMATION_TEXT_PLAIN__LINK')){ function PMA_transformation_text_plain__link($buffer, $options = array()) { include('./libraries/transformations/global.inc.php3'); - $transform_options = array ('string' => '' . (isset($options[1]) ? $options[1] : '%1$s') . ''); +// $transform_options = array ('string' => '' . (isset($options[1]) ? $options[1] : '%1$s') . ''); + + $transform_options = array ('string' => '' . (isset($options[1]) ? $options[1] : $buffer) . ''); + $buffer = PMA_transformation_global_html_replace($buffer, $transform_options); return $buffer; - return htmlspecialchars($buffer); } }