diff --git a/src/main.rs b/src/main.rs index 344845c..774aeff 100644 --- a/src/main.rs +++ b/src/main.rs @@ -108,6 +108,8 @@ fn convert, W: Write>(html: bool, tracks: I, w: &mut E .attr("type", "text/javascript") .attr("src", url), )?; + w.write(XmlEvent::characters(""))?; + w.write(XmlEvent::end_element())?; } for url in CONFIG.include.css.iter() { w.write( @@ -115,6 +117,8 @@ fn convert, W: Write>(html: bool, tracks: I, w: &mut E .attr("rel", "stylesheet") .attr("href", url), )?; + w.write(XmlEvent::characters(""))?; + w.write(XmlEvent::end_element())?; } w.write(XmlEvent::end_element())?; }