Added <h2 id=".."/> to release notes
This commit is contained in:
parent
1b9d98fa51
commit
f599413146
@ -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>';
|
||||
}
|
||||
|
||||
Loading…
Reference in New Issue
Block a user