Using serialize-xml version with proper escaping. #7

Merged
olaven merged 2 commits from feat/gpodder-fails-feed-validation into main 2023-03-13 12:22:14 +00:00
1 changed files with 1 additions and 1 deletions
Showing only changes of commit 1bba02e483 - Show all commits

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