php 부가기능 중 tidy를 설치해서 사용해 보려 하는데요.
단순히 컨트롤러에서
$mixed_output = "<p>What a mighty fine <a href='blah'>da";
$config = array(
'indent' => true,
'show-body-only' => true,
'wrap' => 200
);
$tidy = new tidy();
$tidy->parseString($mixed_output, $config, 'utf8');
$tidy->cleanRepair();
echo tidy_get_output($tidy);
이렇게만 해서는 출력이 아무것도 나오지 않네요.
codeigniter 쪽 설정에서 무언가를 바꿔줘야 할까요?