Dart backend update and upgrade, visual overhaul, additionally some Ñyqy updates that were meant for master branch #1

Merged
phundrak merged 38 commits from develop into master 2020-05-05 11:44:27 +00:00
1 changed files with 4 additions and 1 deletions
Showing only changes of commit 41d368e09c - Show all commits

View File

@ -195,7 +195,7 @@ Future<void> reorganizeHtml() async {
content.insertAdjacentElement('beforeBegin', header);
final subtitle = querySelector('.subtitle');
if (subtitle != null) {
querySelector('header').append(subtitle);
header.append(subtitle);
}
});
@ -205,4 +205,7 @@ Future<void> reorganizeHtml() async {
// Add correct class to TOC
querySelector('#toc-drop')
.append(querySelector('#table-of-contents')..classes.add('dropdown'));
// Remove all <br> tags from HTML
querySelectorAll('br').forEach((br) => br.remove());
}