#42 ✓resolved
Fabrice Luraine

Fixing after($output) example in README

Reported by Fabrice Luraine | July 22nd, 2010 @ 09:47 AM

it should be

   function after($output){
        $config = array('indent' => TRUE,
                        'output-xhtml' => TRUE,
                        'wrap' => 200);

        $encoding = strtoupper(str_replace('-','', option('encoding')));
        $tidy = tidy_parse_string($output, $config, $encoding);
        $tidy->cleanRepair();
        return $tidy;
   }

Comments and changes to this ticket

Please Sign in or create a free account to add a new ticket.

With your very own profile, you can contribute to projects, track your activity, watch tickets, receive and update tickets through your email and much more.

New-ticket Create new ticket

Create your profile

Help contribute to this project by taking a few moments to create your personal profile. Create your profile ยป

Limonade is a PHP micro-framework.

People watching this ticket

Referenced by

Pages