mirror of
https://github.com/shimunn/aria2xspf.git
synced 2023-11-17 09:27:54 +01:00
html style closing tag
This commit is contained in:
parent
824dedae00
commit
312ce4a80b
@ -108,6 +108,8 @@ fn convert<I: Iterator<Item = Track>, W: Write>(html: bool, tracks: I, w: &mut E
|
|||||||
.attr("type", "text/javascript")
|
.attr("type", "text/javascript")
|
||||||
.attr("src", url),
|
.attr("src", url),
|
||||||
)?;
|
)?;
|
||||||
|
w.write(XmlEvent::characters(""))?;
|
||||||
|
w.write(XmlEvent::end_element())?;
|
||||||
}
|
}
|
||||||
for url in CONFIG.include.css.iter() {
|
for url in CONFIG.include.css.iter() {
|
||||||
w.write(
|
w.write(
|
||||||
@ -115,6 +117,8 @@ fn convert<I: Iterator<Item = Track>, W: Write>(html: bool, tracks: I, w: &mut E
|
|||||||
.attr("rel", "stylesheet")
|
.attr("rel", "stylesheet")
|
||||||
.attr("href", url),
|
.attr("href", url),
|
||||||
)?;
|
)?;
|
||||||
|
w.write(XmlEvent::characters(""))?;
|
||||||
|
w.write(XmlEvent::end_element())?;
|
||||||
}
|
}
|
||||||
w.write(XmlEvent::end_element())?;
|
w.write(XmlEvent::end_element())?;
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user