'tidyConfigFile' => "$IP/includes/tidy/tidy.conf",
'tidyCommandLine' => '',
];
- if ( extension_loaded( 'tidy' ) && class_exists( 'tidy' ) ) {
+ if ( extension_loaded( 'tidy' ) && ( wfIsHHVM() || class_exists( 'tidy' ) ) ) {
$this->config['driver'] = wfIsHHVM() ? 'RaggettInternalHHVM' : 'RaggettInternalPHP';
} else {
if ( is_executable( $wgTidyBin ) ) {