|
|
@@ -415,6 +415,17 @@ class TextHelperTest extends CakeTestCase {
|
|
|
array('class' => 'link'),
|
|
|
),
|
|
|
|
|
|
+ array(
|
|
|
+ '<p>mark@example.com</p>',
|
|
|
+ '<p><a href="mailto:mark@example.com">mark@example.com</a></p>',
|
|
|
+ array('escape' => false)
|
|
|
+ ),
|
|
|
+
|
|
|
+ array(
|
|
|
+ 'Some mark@example.com Text',
|
|
|
+ 'Some <a href="mailto:mark@example.com">mark@example.com</a> Text',
|
|
|
+ array('escape' => false)
|
|
|
+ ),
|
|
|
);
|
|
|
}
|
|
|
|