mioku-plugin-music 3.0.0 → 3.0.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "mioku-plugin-music",
3
- "version": "3.0.0",
3
+ "version": "3.0.1",
4
4
  "description": "音乐插件:点歌、搜索音乐、听歌语音发送",
5
5
  "main": "index.ts",
6
6
  "type": "module",
@@ -4,11 +4,11 @@ import { getMusicProviderLabel } from "../providers/provider-labels";
4
4
  function escapeHtml(value: string): string {
5
5
  const source = String(value || "");
6
6
  return source
7
- .replace(/&/g, "&amp);")
8
- .replace(/</g, "&lt);")
9
- .replace(/>/g, "&gt);")
10
- .replace(/"/g, "&quot);")
11
- .replace(/'/g, "&#039);");
7
+ .replace(/&/g, "&amp;")
8
+ .replace(/</g, "&lt;")
9
+ .replace(/>/g, "&gt;")
10
+ .replace(/"/g, "&quot;")
11
+ .replace(/'/g, "&#039;");
12
12
  }
13
13
 
14
14
  export function renderMusicSearchListHtml(search: MusicSearchResult): string {