1.1 --- a/xmlparser.py Tue Aug 12 01:08:48 2014 +0200
1.2 +++ b/xmlparser.py Sat Jan 10 15:11:34 2015 +0100
1.3 @@ -3,7 +3,7 @@
1.4 """
1.5 Confluence Wiki XML/XHTML syntax parsing.
1.6
1.7 -Copyright (C) 2012, 2013 Paul Boddie <paul@boddie.org.uk>
1.8 +Copyright (C) 2012, 2013, 2015 Paul Boddie <paul@boddie.org.uk>
1.9
1.10 This software is free software; you can redistribute it and/or
1.11 modify it under the terms of the GNU General Public License as
1.12 @@ -313,7 +313,7 @@
1.13 # Set an empty default target, overwriting it if enclosing elements
1.14 # specify target details.
1.15
1.16 - elif name == "ac:link-body":
1.17 + elif name in ("ac:link-body", "ac:plain-text-link-body"):
1.18 self.target = self.target or ""
1.19 self.label = text.strip()
1.20 text = ""