From 8197df9ff40fe2cc0d22a89efa318bc0ee07439d Mon Sep 17 00:00:00 2001 From: Ken West Date: Mon, 18 Nov 2013 16:15:50 +1100 Subject: [PATCH] CRM-13690 - CiviMail - prevent html2text treating mailing tokens as relative URLs ---------------------------------------- * CRM-13690: html2text fails to convert Mailing token links http://issues.civicrm.org/jira/browse/CRM-13690 --- tests/phpunit/CRM/Utils/HtmlToTextTest.php | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) diff --git a/tests/phpunit/CRM/Utils/HtmlToTextTest.php b/tests/phpunit/CRM/Utils/HtmlToTextTest.php index ecce076452..681e978e6c 100644 --- a/tests/phpunit/CRM/Utils/HtmlToTextTest.php +++ b/tests/phpunit/CRM/Utils/HtmlToTextTest.php @@ -17,7 +17,17 @@ mailto tags. This is also a really long long line Links: ------ [1] http://www.example.com -' +', + ' +

+A token +is not treated as a relative URL' => ' +A token [1] is not treated as a relative URL + +Links: +------ +[1] {action.do_something} +', ); function get_info() { -- 2.25.1