aboutsummaryrefslogtreecommitdiffhomepage
path: root/lib/sisu/v5
diff options
context:
space:
mode:
authorRalph Amissah <ralph@amissah.com>2013-06-06 21:28:06 -0400
committerRalph Amissah <ralph@amissah.com>2013-06-06 21:28:06 -0400
commit13f66fe40a8eec2c68d0a67e5e7ac80658450f1e (patch)
tree485e006c339d8ca58928a1d360a8525bd91f5414 /lib/sisu/v5
parentv4 v5: cgi, cosmetic, drop use of images in sample form (diff)
v4 v5: cgi helper script, sample search form generator, file name matchingsisu_4.1.4
Diffstat (limited to 'lib/sisu/v5')
-rw-r--r--lib/sisu/v5/cgi_sql_common.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/sisu/v5/cgi_sql_common.rb b/lib/sisu/v5/cgi_sql_common.rb
index fddde88c..b551d6c8 100644
--- a/lib/sisu/v5/cgi_sql_common.rb
+++ b/lib/sisu/v5/cgi_sql_common.rb
@@ -917,7 +917,7 @@ module SiSU_CGI_SQL
#% text_objects_body
s_contents.each do |c| #% text body
location=c['src_filename'][/(.+?)\.(?:ssm\.sst|sst)$/,1]
- file_suffix=c['src_filename'][/.+?\.(_?sst|ssm)$/,1]
+ file_suffix=c['src_filename'][/.+?\.(ssm\.sst|sst)$/,1]
lang=if location =~ /\S+?~(\S\S\S?)$/
l=location[/\S+?~(\S\S\S?)$/,1]
location=location.gsub(/(\S+?)~\S\S\S?/,'\1')
@@ -1009,7 +1009,7 @@ module SiSU_CGI_SQL
oldtid = 0
s_endnotes.each do |e| #% endnotes
location=e['src_filename'][/(.+?)\.(?:ssm\.sst|sst)$/,1]
- file_suffix=e['src_filename'][/.+?\.(_?sst|ssm)$/,1]
+ file_suffix=e['src_filename'][/.+?\.(ssm\.sst|sst)$/,1]
lang=if location =~ /\S+?~(\S\S\S?)$/
l=location[/\S+?~(\S\S\S?)$/,1]
location=location.gsub(/(\S+?)~\S\S\S?/,'\1')