Remove html from summary

This commit is contained in:
Kuba Orlik 2023-12-09 12:07:53 +01:00
parent fbf66d9a19
commit 3234d39282

View File

@ -30,9 +30,8 @@ app.use(async (ctx) => {
.split(" ") .split(" ")
.toString(); .toString();
parsed_data.rss.channel[0]["itunes:summary"][0] = parsed_data.rss.channel[0]["itunes:summary"][0] =
"<![CDATA[" +
parsed_data.rss.channel[0]["itunes:summary"][0] + parsed_data.rss.channel[0]["itunes:summary"][0] +
"]]>";
parsed_data.rss.channel[0]["itunes:subtitle"][0] = trim( parsed_data.rss.channel[0]["itunes:subtitle"][0] = trim(
parsed_data.rss.channel[0]["itunes:subtitle"][0], parsed_data.rss.channel[0]["itunes:subtitle"][0],
255 255