diff options
author | Chris Ball <cjb@laptop.org> | 2008-05-24 16:27:56 (GMT) |
---|---|---|
committer | Chris Ball <cjb@laptop.org> | 2008-05-24 16:27:56 (GMT) |
commit | dde5720294f74b90886386413f5adf30e4c79ccc (patch) | |
tree | dfa90ebe11ed02d99c5fbcb855c2c65532d007e7 /woip/rb | |
parent | 2bbd6968de2cf6020857a77267a678ff7a4904e1 (diff) |
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.
Diffstat (limited to 'woip/rb')
-rw-r--r-- | woip/rb/xmlprocess.rb | 2 |
1 files changed, 1 insertions, 1 deletions
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 |