Explorar el Código

tweak: add palceholder as comment content

Jonathan Kelley hace 3 años
padre
commit
c6e917c4a0
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. 1 1
      packages/ssr/src/lib.rs

+ 1 - 1
packages/ssr/src/lib.rs

@@ -166,7 +166,7 @@ impl<'a> TextRenderer<'a, '_> {
                         write!(f, "    ")?;
                     }
                 }
-                write!(f, "<!-- -->")?;
+                write!(f, "<!--placeholder-->")?;
             }
             VNode::Element(el) => {
                 *last_node_was_text = false;