Fix add one character
This commit is contained in:
parent
07ec52e4dc
commit
d76fb72f6e
2
index.ts
2
index.ts
|
@ -48,7 +48,7 @@ app.use(async (ctx) => {
|
||||||
item["guid"][0].$.isPermaLink = item["guid"][0].$.isPermalink;
|
item["guid"][0].$.isPermaLink = item["guid"][0].$.isPermalink;
|
||||||
delete item["guid"][0].$.isPermalink;
|
delete item["guid"][0].$.isPermalink;
|
||||||
item["itunes:subtitle"][0] =
|
item["itunes:subtitle"][0] =
|
||||||
item["itunes:subtitle"][0].split(".")[0] + ".";
|
item["itunes:subtitle"][0].slice(0, -3) + "…";
|
||||||
item["itunes:summary"][0] = item["itunes:summary"][0].replace(
|
item["itunes:summary"][0] = item["itunes:summary"][0].replace(
|
||||||
/(<([^>]+)>)/gi,
|
/(<([^>]+)>)/gi,
|
||||||
""
|
""
|
||||||
|
|
Loading…
Reference in New Issue
Block a user