Project

General

Profile

« Previous | Next » 

Revision 6694

dict2redmine: Added redmine_table_esc()

View differences:

bin/dict2redmine
59 59
        redmine_bold(redmine_url('\g<0>', page_name+r'#\1')), text)
60 60
    return text
61 61

  
62
redmine_table_sep = '|'
63
redmine_table_sep_esc = redmine_esc(redmine_table_sep)
64

  
65
def redmine_table_esc(text):
66
    text = text.replace(redmine_table_sep, redmine_table_sep_esc)
67
    return text
68

  
62 69
class RedmineTableWriter:
63 70
    '''Formats rows as a Redmine table'''
64 71
    

Also available in: Unified diff