We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 710679b commit 35a23d8Copy full SHA for 35a23d8
src/Generator.hx
@@ -556,7 +556,7 @@ class Generator {
556
var hasTitle = false;
557
var count = 0;
558
for (block in blocks) {
559
- var el = Std.instance(block, ElementNode);
+ var el = Std.downcast(block, ElementNode);
560
if (el != null) {
561
if (!hasTitle && el.tag == "h1" && !el.isEmpty()) {
562
page.title = new markdown.HtmlRenderer().render(el.children);
0 commit comments