Revision 6838
Added by Aaron Marcuse-Kubitza about 12 years ago
dict2redmine | ||
---|---|---|
56 | 56 |
def redmine_add_links(page_name, text): |
57 | 57 |
# Link citations to entry in sources list |
58 | 58 |
text = re.sub(r'(?<!\[)\[([^\[\]]*)\](?!\])', |
59 |
redmine_bold(redmine_link(r'(\1)', page_name+r'#\1')), text)
|
|
59 |
'('+redmine_link(r'\1', page_name+r'#\1')+')', text)
|
|
60 | 60 |
return text |
61 | 61 |
|
62 | 62 |
redmine_table_sep = '|' |
Also available in: Unified diff
dict2redmine: redmine_add_links(): Hyperlink just the source name, not also the () around it