# HG changeset patch # User Paul Boddie # Date 1420899094 -3600 # Node ID d54fd34e39c0bb0f89369c2031cff1841b52a1bd # Parent 61c251cf22029b4006d3e20a032c759dda54e834 Added missing link label tag support. diff -r 61c251cf2202 -r d54fd34e39c0 xmlparser.py --- a/xmlparser.py Tue Aug 12 01:08:48 2014 +0200 +++ b/xmlparser.py Sat Jan 10 15:11:34 2015 +0100 @@ -3,7 +3,7 @@ """ Confluence Wiki XML/XHTML syntax parsing. -Copyright (C) 2012, 2013 Paul Boddie +Copyright (C) 2012, 2013, 2015 Paul Boddie This software is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as @@ -313,7 +313,7 @@ # Set an empty default target, overwriting it if enclosing elements # specify target details. - elif name == "ac:link-body": + elif name in ("ac:link-body", "ac:plain-text-link-body"): self.target = self.target or "" self.label = text.strip() text = ""