Support for HTML descriptions
This commit is contained in:
parent
c17b51d74c
commit
afd9f43e28
7
index.ts
7
index.ts
|
@ -30,10 +30,9 @@ app.use(async (ctx) => {
|
||||||
.split(" ")
|
.split(" ")
|
||||||
.toString();
|
.toString();
|
||||||
parsed_data.rss.channel[0]["itunes:summary"][0] =
|
parsed_data.rss.channel[0]["itunes:summary"][0] =
|
||||||
parsed_data.rss.channel[0]["itunes:summary"][0].replace(
|
"<![CDATA[" +
|
||||||
/(<([^>]+)>)/gi,
|
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
|
||||||
|
|
Loading…
Reference in New Issue
Block a user