Need help for testing tidy integration!

Need help for testing tidy integration!

Janne Mikkonen - මගින්
Number of replies: 0
Help wanted for testing tidy htmlarea integration. If you have:
  1. Moodle 1.6 installed.
  2. Tidy enabled PHP installation.
  3. Multilanguage site or kyrillic default language.
tidy_htmlarea.zip contains two files: htmlarea.php and clean.php, copy htmlarea.php on your old version ( backup that old one first ) at location /lib/editor/htmlarea/htmlarea.php and clean.php at /lib/editor/clean.php

Make tidy config look like this at /filter/tidy/filter.php:

$tidyoptions = array(
             'DocType' => 'strict',
             'input-encoding' => strtolower(get_string('thischarset')),
             'output-encoding' => strtolower(get_string('thischarset')),
             'output-xhtml' => true,
             'show-body-only' => true,
             'tidy-mark' => false,
             'drop-proprietary-attributes' => true,
             'drop-font-tags' => true,
             'drop-empty-paras' => true,
             'indent' => 'auto',
             'indent-spaces' => 4,
             'quiet' => true,
             'clean' => true,
    );


And clean your browser cache before testing.
  1. Are you experiencing any error messages and does editor appear as normal?
  2. Does it change typed characters?
Huge thanks for advance to anyone whose willing to test it.
- Janne -
ශ්‍රේණිගත කිරීම්වල සාමාන්යය: -