1.1 --- a/parser.py Wed Dec 19 00:33:55 2012 +0100
1.2 +++ b/parser.py Wed Dec 19 00:34:10 2012 +0100
1.3 @@ -424,6 +424,7 @@
1.4 # Confluence element Attribute providing the target
1.5 "ri:page" : "ri:content-title",
1.6 "ri:attachment" : "ri:filename",
1.7 + "ri:user" : "ri:username",
1.8 }
1.9
1.10 macro_rich_text_styles = {
1.11 @@ -527,10 +528,13 @@
1.12 # Attempt to convert the text.
1.13
1.14 # Links require target information.
1.15 + # NOTE: User links should support the intended user namespace prefix.
1.16
1.17 if name == "ac:link":
1.18 if self.target_type == "ri:attachment":
1.19 prefix = "attachment:"
1.20 + elif self.target_type == "ri:user":
1.21 + prefix = ""
1.22 else:
1.23 prefix = "../"
1.24