Markip nit

git-svn-id: svn+ssh://svn.openpam.org/svn/openpam/trunk@937 185d5e19-27fe-0310-9dcf-9bff6b9f3609
This commit is contained in:
Dag-Erling Smørgrav 2017-04-30 21:25:34 +00:00
parent eefae6d5ef
commit d061313188

View file

@ -45,7 +45,7 @@ while (<>) {
} }
$changes =~ s/^ - ([A-Z]+): / - '''$1''' /gm; $changes =~ s/^ - ([A-Z]+): / - '''$1''' /gm;
$changes =~ s/([\w.-]+\(\d*\))/`$1`/gs; $changes =~ s/([\w.-]+\(\d*\))/`$1`/gs;
$changes =~ s/([^'`])\b([A-Z_]{4,})\b([^'`])/$1`$2`$3/gs; $changes =~ s/([^'`])\b([A-Z_]{4,}(?:\s+[A-Z_]{4,})*)\b([^'`])/$1`$2`$3/gs;
$changes =~ s/(CVE-\d{4}-\d+)/[$CVEURL$1 $1]/gs; $changes =~ s/(CVE-\d{4}-\d+)/[$CVEURL$1 $1]/gs;
$changes =~ s/([.!?])\n +(\w)/$1 $2/gs; $changes =~ s/([.!?])\n +(\w)/$1 $2/gs;
$changes =~ s/(\S)\n +(\S)/$1 $2/gs; $changes =~ s/(\S)\n +(\S)/$1 $2/gs;