Move HTML Tidy 'bare' option to the config

This commit is contained in:
rarjpg
2019-11-12 09:34:23 +00:00
committed by Fredrick Brennan
parent 0a3bca7dd8
commit 63b0b92690
2 changed files with 7 additions and 2 deletions

View File

@@ -2174,7 +2174,7 @@ function markup(&$body, $track_cites = false, $op = false) {
$body = str_replace("\t", '	', $body);
$body = $tidy->repairString($body, array(
'doctype' => 'omit',
'bare' => true,
'bare' => $config['markup_repair_tidy_bare'],
'literal-attributes' => true,
'indent' => false,
'show-body-only' => true,