dépôts
/
lhc
/
web
/
wiklou.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Rewrite TidySupport and add option --use-tidy-config
[lhc/web/wiklou.git]
/
includes
/
parser
/
MWTidy.php
diff --git
a/includes/parser/MWTidy.php
b/includes/parser/MWTidy.php
index
f281c25
..
a47e002
100644
(file)
--- a/
includes/parser/MWTidy.php
+++ b/
includes/parser/MWTidy.php
@@
-135,6
+135,8
@@
class MWTidy {
case 'Html5Internal':
self::$instance = new MediaWiki\Tidy\Html5Internal( $config );
break;
+ case 'disabled':
+ return false;
default:
throw new MWException( "Invalid tidy driver: \"{$config['driver']}\"" );
}