2013-06-15 | Paul Boddie | raw files shortlog changelog graph | Allow link body details to specify default link targets. | |
xmlparser.py (file) |
1.1 --- a/xmlparser.py Tue Jun 11 15:23:18 2013 +0200 1.2 +++ b/xmlparser.py Sat Jun 15 20:54:00 2013 +0200 1.3 @@ -310,8 +310,11 @@ 1.4 text = "" 1.5 1.6 # For anchor links, just use the raw text and let Moin do the formatting. 1.7 + # Set an empty default target, overwriting it if enclosing elements 1.8 + # specify target details. 1.9 1.10 elif name == "ac:link-body": 1.11 + self.target = self.target or "" 1.12 self.label = text.strip() 1.13 text = "" 1.14