Skip to content
This repository was archived by the owner on Jan 12, 2026. It is now read-only.

Commit 5d9e62a

Browse files
committed
update render helper
1 parent 0bd6685 commit 5d9e62a

22 files changed

Lines changed: 125 additions & 59 deletions

lib/consts/allowed-attributes.const.js

Lines changed: 10 additions & 9 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

lib/consts/allowed-attributes.const.js.map

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

lib/helper.d.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
export declare function createDoc(html: string): Document | null;
22
export declare function makeEntryCacheKey(entry: any): string;
33
export declare function extractYtStartTime(url: string): string;
4+
export declare function sanitizePermlink(permlink: string): string;
45
export declare function isValidPermlink(permlink: string): boolean;
56
export declare function isValidUsername(username: string): boolean;

lib/helper.js

Lines changed: 17 additions & 5 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

lib/helper.js.map

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

lib/methods/a.method.js

Lines changed: 35 additions & 19 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

lib/methods/a.method.js.map

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

lib/methods/iframe.method.js

Lines changed: 5 additions & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)