Changes between Version 1 and Version 2 of Ticket #12578, comment 15
- Timestamp:
- Jun 5, 2017, 7:22:17 PM (7 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Ticket #12578, comment 15
v1 v2 1 1 I've been manually removing uses of `#!box` processor: TracProject/DefaultWikiPages#sync. 2 2 3 {{{#!diff 3 4 Proposed change: 4 {{{#!diff5 5 Index: contrib/checkwiki.py 6 6 =================================================================== … … 29 29 if response.status == 200 and content: 30 30 with open('trac/wiki/default-pages/' + name, 'w') as f: 31 + content = re_box_processor.sub('', content , re.MULTILINE)31 + content = re_box_processor.sub('', content) 32 32 lines = content.replace('\r\n', '\n').splitlines(True) 33 33 f.write(''.join(line for line in lines