Commit 67b40351 authored by jan.koester's avatar jan.koester
Browse files

test

parent 9387a3ac
Loading
Loading
Loading
Loading
+12 −0
Original line number Diff line number Diff line
@@ -602,6 +602,18 @@ void libhtmlpp::HtmlString::_buildTree() {
                        p = base + i;
                        continue;
                    }
                    if (starts_with_ci(p, end, "<!doctype")) {
                        const char* close_tag = p;
                        while (close_tag < end && *close_tag != '>') {
                            ++close_tag;
                        }
                        if (close_tag < end) {
                            p = close_tag + 1;
                        } else {
                            p = end;
                        }
                        continue;
                    }
                } else if (c1 == 's') {
                    if (starts_with_ci(p, end, "<script")) {
                        add_element_node(&lastEl);