We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ffe7d5e commit cf180b4Copy full SHA for cf180b4
blocks/form/util.js
@@ -3,7 +3,7 @@ import { defaultErrorMessages } from './constant.js';
3
import { externalize } from './rules/functions.js';
4
5
const headings = Array.from({ length: 6 }, (_, i) => `<h${i + 1}>`).join('');
6
-const allowedTags = `${headings}<a><b><p><i><em><strong><ul><li><ol><br><hr><u><sup><sub><s>`
+const allowedTags = `${headings}<a><b><p><i><em><strong><ul><li><ol><br><hr><u><sup><sub><s>`;
7
8
export function stripTags(input, allowd = allowedTags) {
9
if (typeof input !== 'string') {
0 commit comments