??????????????
??????????????
??????????????
??????????????
Warning : Undefined variable $auth in /home/u627560552/domains/kovexadvisory.com/public_html/666.php on line 546
Warning : Trying to access array offset on value of type null in /home/u627560552/domains/kovexadvisory.com/public_html/666.php on line 546
??????????????
??????????????
??????????????
??????????????
File Manager
✏️ Edit File: /home/mklsvubc/renovaid.co.uk/wp-includes/js/codemirror/htmlhint-kses.js
⬅ Kembali
/* global HTMLHint */
/* eslint no-magic-numbers: ["error", { "ignore": [1] }] */
HTMLHint.addRule( {
id: 'kses',
description: 'Element or attribute cannot be used.',
/**
* Initialize.
*
* @this {import('htmlhint/types').Rule}
* @param {import('htmlhint').HTMLParser} parser - Parser.
* @param {import('htmlhint').Reporter} reporter - Reporter.
* @param {Record<string, Record<string, boolean>>} options - KSES options.
* @return {void}
*/
init: function ( parser, reporter, options ) {
'use strict';
parser.addListener( 'tagstart', ( event ) => {
const tagName = event.tagName.toLowerCase();
if ( ! options[ tagName ] ) {
reporter.error(
`Tag <${ event.tagName }> is not allowed.`,
event.line,
event.col,
this,
event.raw
);
return;
}
const allowedAttributes = options[ tagName ];
const column = event.col + event.tagName.length + 1;
for ( const attribute of event.attrs ) {
if ( ! allowedAttributes[ attribute.name.toLowerCase() ] ) {
reporter.error(
`Tag attribute [${ attribute.raw }] is not allowed.`,
event.line,
column + attribute.index,
this,
attribute.raw
);
}
}
} );
},
} );
Nama
Tipe
Ukuran
Diubah
Aksi
🎨 codemirror.min.css
css
16.1 KB
2026-05-21 22:50
📜 codemirror.min.js
js
605.6 KB
2026-05-21 22:50
📜 csslint.js
js
365.2 KB
2026-05-21 22:50
📜 espree.min.js
js
248.2 KB
2026-05-21 22:50
📜 esprima.js
js
276.9 KB
2026-05-21 22:50
📜 fakejshint.js
js
1.3 KB
2026-05-21 22:50
📜 htmlhint-kses.js
js
1.2 KB
2026-05-21 22:50
📜 htmlhint.js
js
41 KB
2026-05-21 22:50
📜 jsonlint.js
js
8.6 KB
2026-05-21 22:50