[ SYSTEM ]: Linux wordpress 6.1.0-41-amd64 #1 SMP PREEMPT_DYNAMIC Debian 6.1.158-1 (2025-11-09) x86_64
[ SERVER ]: Apache/2.4.66 (Debian) | PHP: 8.2.30
[ USER ]: www-data | IP: 172.19.30.54
GEFORCE FILE MANAGER
/
var
/
www
/
html
/
wordpress
/
wp-includes
/
js
/
codemirror
/
UPLOAD:
NAME
SIZE
QUICK PERMS
ACTIONS
📄 codemirror.min.css
15,899 B
SET
[ EDIT ]
|
[ DEL ]
📄 codemirror.min.js
585,414 B
SET
[ EDIT ]
|
[ DEL ]
📄 csslint.js
366,769 B
SET
[ EDIT ]
|
[ DEL ]
📄 esprima.js
283,149 B
SET
[ EDIT ]
|
[ DEL ]
📄 fakejshint.js
1,002 B
SET
[ EDIT ]
|
[ DEL ]
📄 htmlhint-kses.js
984 B
SET
[ EDIT ]
|
[ DEL ]
📄 htmlhint.js
17,735 B
SET
[ EDIT ]
|
[ DEL ]
📄 jsonlint.js
16,189 B
SET
[ EDIT ]
|
[ DEL ]
DELETE SELECTED
[ CLOSE ]
EDIT: htmlhint-kses.js
/* global HTMLHint */ /* eslint no-magic-numbers: ["error", { "ignore": [0, 1] }] */ HTMLHint.addRule({ id: 'kses', description: 'Element or attribute cannot be used.', init: function( parser, reporter, options ) { 'use strict'; var self = this; parser.addListener( 'tagstart', function( event ) { var attr, col, attrName, allowedAttributes, i, len, tagName; tagName = event.tagName.toLowerCase(); if ( ! options[ tagName ] ) { reporter.error( 'Tag <' + event.tagName + '> is not allowed.', event.line, event.col, self, event.raw ); return; } allowedAttributes = options[ tagName ]; col = event.col + event.tagName.length + 1; for ( i = 0, len = event.attrs.length; i < len; i++ ) { attr = event.attrs[ i ]; attrName = attr.name.toLowerCase(); if ( ! allowedAttributes[ attrName ] ) { reporter.error( 'Tag attribute [' + attr.raw + ' ] is not allowed.', event.line, col + attr.index, self, attr.raw ); } } }); } });