aboutsummaryrefslogtreecommitdiffhomepage
path: root/lib/sisu/develop/html_harvest_topics.rb
diff options
context:
space:
mode:
Diffstat (limited to 'lib/sisu/develop/html_harvest_topics.rb')
-rw-r--r--lib/sisu/develop/html_harvest_topics.rb6
1 files changed, 2 insertions, 4 deletions
diff --git a/lib/sisu/develop/html_harvest_topics.rb b/lib/sisu/develop/html_harvest_topics.rb
index bd461377..22c880d6 100644
--- a/lib/sisu/develop/html_harvest_topics.rb
+++ b/lib/sisu/develop/html_harvest_topics.rb
@@ -158,10 +158,9 @@ module SiSU_HarvestTopics
end
idx_array[lang] <<=if @idx_list =~/;/
g=@idx_list.scan(/[^;]+/)
- idxl=[]
- g.each do |i|
+ g.each.map do |i|
i=i.strip
- idxl << {
+ {
filename: filename,
file: file,
rough_idx: i,
@@ -171,7 +170,6 @@ module SiSU_HarvestTopics
lang: lang
}
end
- idxl
else {
filename: filename,
file: file,