From 9158a331ff59327f9ce34945fe0275a56cad36b3 Mon Sep 17 00:00:00 2001 From: paul Date: Mon, 15 Jun 2015 00:44:32 +0000 Subject: [PATCH] fix extra whitespace bug svn path=/trunk/; revision=67 --- pages/Subversion.sh | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/pages/Subversion.sh b/pages/Subversion.sh index 5692d56..c771ee0 100755 --- a/pages/Subversion.sh +++ b/pages/Subversion.sh @@ -59,8 +59,9 @@ svn_showurl(){ lang=txt \ || lang=$( source-highlight --lang-list \ - | grep -o "^${url##*.} " || echo sh + | grep -o "^${url##*.} " || echo sh ) + lang="${lang% }" svn cat -r "$rev" "${baseuri}/${url}" \ | source-highlight -s "$lang" fi -- 2.39.2