Skip to content

Commit

Permalink
Merge pull request #199 from NekoAria/2.0
Browse files Browse the repository at this point in the history
补上对 `u` 标签的处理;修改订阅成功后,返回信息中增加 `修改生效订阅数`
  • Loading branch information
Quan authored Sep 28, 2021
2 parents 6a59223 + aa61735 commit 2827eef
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
1 change: 1 addition & 0 deletions src/plugins/ELF_RSS2/RSS/routes/Parsing/handle_html_tag.py
Original file line number Diff line number Diff line change
Expand Up @@ -117,6 +117,7 @@ async def handle_html_tag(html) -> str:
"td",
"th",
"tr",
"u",
"ul",
]

Expand Down
4 changes: 3 additions & 1 deletion src/plugins/ELF_RSS2/change_dy.py
Original file line number Diff line number Diff line change
Expand Up @@ -216,7 +216,9 @@ async def handle_rss_change(bot: Bot, event: Event, state: dict):

rss_msg_list.append(rss_msg)

result_msg += result_msg.join(rss_msg_list)
result_msg = f"修改了 {len(rss_msg_list)} 条订阅:\n{result_msg}" + result_msg.join(
rss_msg_list
)
await RSS_CHANGE.send(f"👏 修改成功\n{result_msg}")
logger.info(f"👏 修改成功\n{result_msg}")

Expand Down

0 comments on commit 2827eef

Please sign in to comment.