[Pywikipedia-l] SVN: [4895] trunk/pywikipedia/wikipedia.py

malafaya at svn.wikimedia.org malafaya at svn.wikimedia.org
Tue Jan 15 22:25:38 UTC 2008


Revision: 4895
Author:   malafaya
Date:     2008-01-15 22:25:38 +0000 (Tue, 15 Jan 2008)

Log Message:
-----------
undid previous change; bug still occurs

Modified Paths:
--------------
    trunk/pywikipedia/wikipedia.py

Modified: trunk/pywikipedia/wikipedia.py
===================================================================
--- trunk/pywikipedia/wikipedia.py	2008-01-15 21:53:03 UTC (rev 4894)
+++ trunk/pywikipedia/wikipedia.py	2008-01-15 22:25:38 UTC (rev 4895)
@@ -2833,7 +2833,7 @@
         'nowiki':      re.compile(r'(?is)<nowiki>.*?</nowiki>'),
         # preformatted text
         'pre':         re.compile(r'(?ism)<pre>.*?</pre>'),
-        'source':      re.compile(r'(?is)<source>.*?</source>'),
+        'source':      re.compile(r'(?is)<source .*?</source>'),
         # inline references
         'ref':         re.compile(r'(?ism)<ref[ >].*?</ref>'),
         'timeline':    re.compile(r'(?is)<timeline>.*?</timeline>'),





More information about the Pywikipedia-l mailing list