Loading src/html.cpp +12 −0 Original line number Diff line number Diff line Loading @@ -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); Loading Loading
src/html.cpp +12 −0 Original line number Diff line number Diff line Loading @@ -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); Loading