From dde5720294f74b90886386413f5adf30e4c79ccc Mon Sep 17 00:00:00 2001 From: Chris Ball Date: Sat, 24 May 2008 16:27:56 +0000 Subject: xmlprocess.rb was attempting to remove all images! .. and failing, which is why we didn't notice it before. It only removed images that had a pipe in and started at the beginning of a line. --- (limited to 'woip') diff --git a/woip/rb/xmlprocess.rb b/woip/rb/xmlprocess.rb index ebe06f9..8638c2e 100644 --- a/woip/rb/xmlprocess.rb +++ b/woip/rb/xmlprocess.rb @@ -13,7 +13,7 @@ class ArticleListener end def text(text) - @cur_text = text.gsub(/^\[\[[^\]\[]+?\:[^\]\[]+?\]\]$/, '').gsub(/\n+/, "\n") + @cur_text = text.gsub(/\n+/, "\n") end def print_stats -- cgit v0.9.1