fix <code> tags, make it compatible for pasting back to dokuwiki page
This commit is contained in:
parent
4a81fc044a
commit
ab84bc58fc
1 changed files with 2 additions and 2 deletions
|
@ -82,8 +82,8 @@ def convert_page(page, file):
|
||||||
#('(\[\[.*\]\]).*\]', '\\1'),
|
#('(\[\[.*\]\]).*\]', '\\1'),
|
||||||
('\[(http.*) .*\]', '[[\\1]]'), # web link
|
('\[(http.*) .*\]', '[[\\1]]'), # web link
|
||||||
('\["/(.*)"\]', '[['+file[-1]+':\\1]]'),
|
('\["/(.*)"\]', '[['+file[-1]+':\\1]]'),
|
||||||
('\{{3}', '<>code>'), # code open
|
('\{{3}', '<'+'code>'), # code open
|
||||||
('\}{3}', '<>/code>'), # code close
|
('\}{3}', '<'+'/code>'), # code close
|
||||||
('^\s\s\s\s\*', ' *'),
|
('^\s\s\s\s\*', ' *'),
|
||||||
('^\s\s\s\*', ' *'),
|
('^\s\s\s\*', ' *'),
|
||||||
('^\s\s\*', ' *'),
|
('^\s\s\*', ' *'),
|
||||||
|
|
Loading…
Reference in a new issue