Using `serialize-xml` version with proper escaping. (#7)

This commit is contained in:
Olav Sundfør 2023-03-13 13:22:14 +01:00 committed by GitHub
parent e90e4a1f08
commit 0123226be0
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -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/v0.4.0/mod.ts";
function toItemTag(episode: Episode) { function toItemTag(episode: Episode) {
const description = episode.titles.subtitle || ""; const description = episode.titles.subtitle || "";