raw-hydration-mismatch
Ben McCann 1 year ago
parent 508e30c681
commit 1b62914825

@ -795,7 +795,8 @@ export function claim_html_tag(nodes, is_svg, content) {
const start_index = get_comment_idx(nodes, `HTML_${content_hash}_START`, 0); const start_index = get_comment_idx(nodes, `HTML_${content_hash}_START`, 0);
const end_index = get_comment_idx(nodes, `HTML_${content_hash}_END`, start_index + 1); const end_index = get_comment_idx(nodes, `HTML_${content_hash}_END`, start_index + 1);
if (start_index === -1 || end_index === -1) { // Content mismatch, recreate if (start_index === -1 || end_index === -1) {
// Content mismatch, recreate
return new HtmlTagHydration(is_svg); return new HtmlTagHydration(is_svg);
} }

@ -1,4 +1,4 @@
<!DOCTYPE html> <!doctype html>
<html lang="en" class="theme-default typo-default"> <html lang="en" class="theme-default typo-default">
<head> <head>
<meta charset="utf-8" /> <meta charset="utf-8" />

Loading…
Cancel
Save