Move HTML Tidy 'bare' option to the config

This commit is contained in:
rarjpg authored and Fredrick Brennan committed 2019-11-29 19:21:20 +08:00
1 parent 0a3bca7dd8
commit 63b0b92690
2 files changed
+7 -2

No files matched your search

+1 -1
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,