bin/mk-notes: correct the anchor links to the CVE descriptions
[openssl-web.git] / bin / mk-notes
index 75562ef72b307dc7199709f91701c38c71bc27de..a268fbc49cd5addad59c6944a12d0d8cb9e31439 100755 (executable)
@@ -41,7 +41,7 @@ while ( <STDIN> ) {
            print "<ul>\n";
            $in_ul = 1;
        }
-       s/CVE-(\d{4}-\d{4})/<a href=vulnerabilities.html#$1>CVE-$1<\/a>/g;
+       s/CVE-\d{4}-\d{4}/<a href=vulnerabilities.html#$&>$&<\/a>/g;
        print;
     }
 }