whimsical-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From curc...@apache.org
Subject [whimsy] branch master updated: Fix line num URL :coffee:
Date Sat, 20 Apr 2019 21:37:53 GMT
This is an automated email from the ASF dual-hosted git repository.

curcuru pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/whimsy.git


The following commit(s) were added to refs/heads/master by this push:
     new 6725f31  Fix line num URL :coffee:
6725f31 is described below

commit 6725f31867a365d3c3a68e5ee7c24227c68c0fcd
Author: Shane Curcuru <asf@shanecurcuru.org>
AuthorDate: Sat Apr 20 17:37:45 2019 -0400

    Fix line num URL :coffee:
---
 www/docs/hardcoded.cgi | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/www/docs/hardcoded.cgi b/www/docs/hardcoded.cgi
index 6b3f80b..767ecbb 100755
--- a/www/docs/hardcoded.cgi
+++ b/www/docs/hardcoded.cgi
@@ -37,7 +37,7 @@ _html do
             _a '', name: file.gsub(/[#%\[\]\{\}\\"<>]/, '')
             _code! do
               if info['line']
-                _a! file, href: "#{GITWHIMSY}#{file}##{info['line']}"
+                _a! file, href: "#{GITWHIMSY}#{file}#L#{info['line']}"
               else
                 _a! file, href: "#{GITWHIMSY}#{file}"
               end


Mime
View raw message