From acc405e3faa5763b4c30877762182e077a9befea Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Michal=20=C4=8Ciha=C5=99?= Date: Mon, 31 Jan 2011 15:35:08 +0100 Subject: [PATCH] Wrap URL in transformation as well --- libraries/transformations/text_plain__link.inc.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libraries/transformations/text_plain__link.inc.php b/libraries/transformations/text_plain__link.inc.php index bec766195..6a1ca6c3c 100644 --- a/libraries/transformations/text_plain__link.inc.php +++ b/libraries/transformations/text_plain__link.inc.php @@ -18,7 +18,7 @@ function PMA_transformation_text_plain__link($buffer, $options = array(), $meta // $transform_options = array ('string' => '' . (isset($options[1]) ? $options[1] : '%1$s') . ''); - $transform_options = array ('string' => '' . (isset($options[1]) ? $options[1] : $buffer) . ''); + $transform_options = array ('string' => '' . (isset($options[1]) ? $options[1] : $buffer) . ''); $buffer = PMA_transformation_global_html_replace($buffer, $transform_options);