header.php dosyanızın en üstüne aşağıdaki kodları ekleyin, bu sayede çıktı yan yana olur, kodda normal görünür:
edit: r10'un editörü saçmaladı, aşağıdan kopyalayabilirsiniz. başına <?php sonuna da ?> koymayı unutmayın.
https://paste.ubuntu.com/p/CNHkVWz4q3/
<?php function sanitize_output($buffer) { $search = array( '/\>[^\S ]+/s', // strip whitespaces after tags, except space '/[^\S ]+\</s', // strip whitespaces before tags, except space '/(\s)+/s' // shorten multiple whitespace sequences ); $replace = array( '>', '<', '\\1' ); $buffer = preg_replace($search, $replace, $buffer); return $buffer; } //error_reporting(E_ALL); //ini_set("display_errors", 1); ob_start("sanitize_output"); ?>