diff options
author | joey <joey@0fa5a96a-9a0e-0410-b3b2-a0fd24251071> | 2006-03-21 01:18:01 +0000 |
---|---|---|
committer | joey <joey@0fa5a96a-9a0e-0410-b3b2-a0fd24251071> | 2006-03-21 01:18:01 +0000 |
commit | 773731743df52d2ef2d8ce93c095be981bb9bfc8 (patch) | |
tree | fef19536fbbd1010150203662ee26e76243808b6 /mdwn2man | |
parent | b7c86dda2f900dc991d1f6becda56ba3300cccce (diff) | |
download | ikiwiki-773731743df52d2ef2d8ce93c095be981bb9bfc8.tar ikiwiki-773731743df52d2ef2d8ce93c095be981bb9bfc8.tar.gz |
add --diffurl, if set RecentChanges has links to svn diffs
Diffstat (limited to 'mdwn2man')
-rwxr-xr-x | mdwn2man | 3 |
1 files changed, 1 insertions, 2 deletions
@@ -4,12 +4,11 @@ print ".TH ikiwiki 1\n"; while (<>) { + s{(\\?)\[\[([^\s\]]+)\]\]}{$1 ? "[[$2]]" : $2}eg; s/^#\s/.SH /; s/^\s+//; s/^Warning:.*//g; s/^$/.PP\n/; - s/\[\[//g; - s/\]\]//g; s/\`//g; s/^\*\s+(.*)/.IP "$1"/; next if $_ eq ".PP\n" && $skippara; |