Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
path: root/mwlib
diff options
context:
space:
mode:
authorWade Brainerd <wadetb@gmail.com>2008-05-28 07:24:46 (GMT)
committer Wade Brainerd <wadetb@gmail.com>2008-05-28 07:24:46 (GMT)
commitb879c1efbfbb8cb4ce5ba7573b708eb586dc96a5 (patch)
tree1ecc9b9e583d2852343cf27c939e9bdf50fd099b /mwlib
parentf1c0ea322eecb0e7d3527d5ec210411679848551 (diff)
Fix parsing of <source>, <code> tags.
Diffstat (limited to 'mwlib')
-rwxr-xr-xmwlib/parser.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/mwlib/parser.py b/mwlib/parser.py
index 08869c5..fd27750 100755
--- a/mwlib/parser.py
+++ b/mwlib/parser.py
@@ -601,6 +601,8 @@ class Parser(object):
n=PreFormatted()
else:
n=TagNode(token.t)
+ n.starttext = ''
+ n.endtext = ''
n.vlist = parseParams(self.token[1])