Added <h2 id=".."/> to release notes

This commit is contained in:
Lukas Eder 2012-05-24 17:27:18 +02:00
parent 1b9d98fa51
commit f599413146

View File

@ -22,7 +22,7 @@ function printContent() {
for ($i = 0; $i < count($contents); $i++) {
if ($i + 1 < count($contents) && substr($contents[$i + 1], 0, 3) == '===') {
print '<h2>';
print '<h2 id="' . preg_replace('%Version (\d+\.\d+\.\d+).*\n?%', '$1', $contents[$i]) . '">';
print $contents[$i];
print '</h2>';
}