You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
13 lines
300 B
PHP
13 lines
300 B
PHP
<?php
|
|
namespace Isekai;
|
|
|
|
class HideSpace {
|
|
public static function onParserSetup(&$parser) {
|
|
$parser->setFunctionHook('hide', 'Isekai\\HideSpace::createHideSpace');
|
|
return true;
|
|
}
|
|
|
|
public static function createHideSpace($parser, $title, $content) {
|
|
return '<script>alert("");</script>';
|
|
}
|
|
} |