(str: string)
| 9 | } |
| 10 | |
| 11 | static sanitizeSlug(str: string): string { |
| 12 | return slug(sanitizeHtml(str, { allowedTags: [] }), { lower: true }); |
| 13 | } |
| 14 | |
| 15 | private doesHeadingExist(slug: string): boolean { |
| 16 | // eslint-disable-next-line no-prototype-builtins |