Using `serialize-xml` version with proper escaping.
This commit is contained in:
parent
e90e4a1f08
commit
1bba02e483
|
|
@ -1,7 +1,7 @@
|
||||||
import { nrkRadio, Episode } from "../../../lib/nrk.ts"
|
import { nrkRadio, Episode } from "../../../lib/nrk.ts"
|
||||||
import { HandlerContext } from "$fresh/server.ts";
|
import { HandlerContext } from "$fresh/server.ts";
|
||||||
|
|
||||||
import { serialize, tag, declaration } from "https://deno.land/x/serializexml@v0.3.2/mod.ts";
|
import { serialize, tag, declaration } from "https://raw.githubusercontent.com/olaven/serialize-xml/master/mod.ts";
|
||||||
|
|
||||||
function toItemTag(episode: Episode) {
|
function toItemTag(episode: Episode) {
|
||||||
const description = episode.titles.subtitle || "";
|
const description = episode.titles.subtitle || "";
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue