Permalink
Browse files

TAFIWeekly: go off of first instance of mb-break and not all of them

  • Loading branch information...
MusikAnimal committed Dec 16, 2015
1 parent 701aea0 commit 1a9b07d3169bf7cbc7d1ba26debd4ef7431d6eb9
Showing with 1 addition and 1 deletion.
  1. +1 −1 tafi_weekly.rb
View
@@ -90,7 +90,7 @@ def self.archive_schedule
entry = "'''Week #{new_schedule_date.cweek}'''\n" \
"#\{\{Wikipedia:Today's articles for improvement/#{new_schedule_date.year}/#{new_schedule_date.cweek}/1}}"
content.gsub!(identifier, "#{entry}\n\n#{identifier}")
content.sub!(identifier, "#{entry}\n\n#{identifier}")
@mb.edit(page,
content: content,

0 comments on commit 1a9b07d

Please sign in to comment.