Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
path: root/woip
diff options
context:
space:
mode:
authorChris Ball <cjb@laptop.org>2008-05-24 16:27:56 (GMT)
committer Chris Ball <cjb@laptop.org>2008-05-24 16:27:56 (GMT)
commitdde5720294f74b90886386413f5adf30e4c79ccc (patch)
treedfa90ebe11ed02d99c5fbcb855c2c65532d007e7 /woip
parent2bbd6968de2cf6020857a77267a678ff7a4904e1 (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')
-rw-r--r--woip/rb/xmlprocess.rb2
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