$51 GRAYBYTE WORDPRESS FILE MANAGER $52

SERVER : premium134.web-hosting.com #1 SMP Thu Mar 13 14:29:12 UTC 2025
SERVER IP : 162.0.232.104 | ADMIN IP 216.73.217.120
OPTIONS : CRL = ON | WGT = ON | SDO = OFF | PKEX = OFF
DEACTIVATED : NONE

/home/raydofqv/ctcom.com.tw/js-20260612083400/codemirror/

HOME
Current File : /home/raydofqv/ctcom.com.tw/js-20260612083400/codemirror//htmlhint-kses.js
/* 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
					);
				}
			}
		} );
	},
} );


Current_dir [ WRITEABLE ] Document_root [ WRITEABLE ]


[ Back ]
NAME
SIZE
LAST TOUCH
USER
CAN-I?
FUNCTIONS
..
--
12 Jun 2026 8.34 AM
raydofqv / raydofqv
0755
.htaccess
0.124 KB
5 Jun 2026 6.28 AM
raydofqv / raydofqv
0644
codemirror.min.css
16.102 KB
2 Jun 2026 6.01 AM
raydofqv / raydofqv
0644
codemirror.min.js
605.615 KB
2 Jun 2026 6.01 AM
raydofqv / raydofqv
0644
csslint.js
365.238 KB
2 Jun 2026 6.01 AM
raydofqv / raydofqv
0644
espree.min.js
248.196 KB
2 Jun 2026 6.01 AM
raydofqv / raydofqv
0644
esprima.js
276.921 KB
2 Jun 2026 6.01 AM
raydofqv / raydofqv
0644
fakejshint.js
1.25 KB
2 Jun 2026 6.01 AM
raydofqv / raydofqv
0644
htmlhint-kses.js
1.191 KB
2 Jun 2026 6.01 AM
raydofqv / raydofqv
0644
htmlhint.js
40.994 KB
2 Jun 2026 6.01 AM
raydofqv / raydofqv
0644
jsonlint.js
8.569 KB
2 Jun 2026 6.01 AM
raydofqv / raydofqv
0644

GRAYBYTE WORDPRESS FILE MANAGER @ 2026 CONTACT ME
Static GIF Static GIF