From 9e8badd3a07cf0130678f9a5d78edacff384e334 Mon Sep 17 00:00:00 2001 From: Tim Hunt Date: Tue, 2 Nov 2010 21:50:20 +0000 Subject: [PATCH] html_to_text MDL-25018 fix regression caused by be previous comment. Thanks Eloy for spotting this. I was worried about this happening, so I checked the diff before committing, to make sure something like this did not happen, and still Eclipse+CVS screwed it up for me. Sorry. --- lib/simpletest/testweblib.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/lib/simpletest/testweblib.php b/lib/simpletest/testweblib.php index c983d56a7df..e2b9b77ffc6 100644 --- a/lib/simpletest/testweblib.php +++ b/lib/simpletest/testweblib.php @@ -165,10 +165,10 @@ END; //no link at all 'This is a story about moodle.coming to a cinema near you.'=>'This is a story about moodle.coming to a cinema near you.', //URLs containing utf 8 characters - 'http://I�t�rn�ti�n�liz�ti�n.com?�=n��'=>'http://I�t�rn�ti�n�liz�ti�n.com?�=n��', - 'www.I�t�rn�ti�n�liz�ti�n.com?�=n��'=>'www.I�t�rn�ti�n�liz�ti�n.com?�=n��', + 'http://Iñtërnâtiônàlizætiøn.com?ô=nëø'=>'http://Iñtërnâtiônàlizætiøn.com?ô=nëø', + 'www.Iñtërnâtiônàlizætiøn.com?ô=nëø'=>'www.Iñtërnâtiônàlizætiøn.com?ô=nëø', //text containing utf 8 characters outside of a url - 'I�t�rn�ti�n�liz�ti�n is important to http://moodle.org'=>'I�t�rn�ti�n�liz�ti�n is important to http://moodle.org', + 'Iñtërnâtiônàlizætiøn is important to http://moodle.org'=>'Iñtërnâtiônàlizætiøn is important to http://moodle.org', //too hard to identify without additional regexs 'moodle.org' => 'moodle.org', //some text with no link between related html tags