[Rt-commit] rt branch, 4.0/makeclicky-remove-spaces, updated. rt-4.0.2-201-gf537cf3

Alex Vandiver alexmv at bestpractical.com
Mon Nov 28 17:07:46 EST 2011


The branch, 4.0/makeclicky-remove-spaces has been updated
       via  f537cf3aad8656370fc5da3d07233fed26cc7a55 (commit)
       via  4c1ba0945b8f96bbc5f30defda87f0c538c828f3 (commit)
      from  6ae1499908a7db1bb1d49b7526ce99c06c6a5215 (commit)

Summary of changes:
 docs/extending/clickable_links.pod |    4 +---
 t/ticket/clicky.t                  |    3 +--
 2 files changed, 2 insertions(+), 5 deletions(-)

- Log -----------------------------------------------------------------
commit 4c1ba0945b8f96bbc5f30defda87f0c538c828f3
Author: Alex Vandiver <alexmv at bestpractical.com>
Date:   Mon Nov 28 17:01:25 2011 -0500

    Fix the test to no longer expect spaces to be inserted

diff --git a/t/ticket/clicky.t b/t/ticket/clicky.t
index 85e6690..3a7ec82 100644
--- a/t/ticket/clicky.t
+++ b/t/ticket/clicky.t
@@ -135,8 +135,7 @@ diag 'test httpurl_overwrite';
     @links = $m->find_link(
         tag  => 'a',
         url  => 'https://wiki.bestpractical.com/test#anchor',
-        # extra space on every 30 chars
-        text => 'https://wiki.bestpractical.com /test#anchor',
+        text => 'https://wiki.bestpractical.com/test#anchor',
     );
     ok( scalar @links, 'found clicky link with anchor' );
 }

commit f537cf3aad8656370fc5da3d07233fed26cc7a55
Author: Alex Vandiver <alexmv at bestpractical.com>
Date:   Mon Nov 28 17:01:49 2011 -0500

    Update one other place where the documentation explains httpurl_overwrite

diff --git a/docs/extending/clickable_links.pod b/docs/extending/clickable_links.pod
index 57ac181..91e9eec 100644
--- a/docs/extending/clickable_links.pod
+++ b/docs/extending/clickable_links.pod
@@ -22,9 +22,7 @@ after the URL.
 
 =item C<httpurl_overwrite>
 
-Detects URLs as C<httpurl> format, but replaces the URL with a link, and
-B<adds spaces> into the text if it is longer then 30 characters. This
-allows the browser to wrap long URLs, and avoid horizontal scrolling.
+Detects URLs as C<httpurl> format, but replaces the URL with a link.
 
 =back
 

-----------------------------------------------------------------------


More information about the Rt-commit mailing list