App/Xtn/Mediawiki/Tidy/tidy

From XOWA: the free, open-source, offline wiki application

MediaWiki often uses HTML tidy to clean up "dirty" HTML.

For example, HTML tidy will take the sequence "<sup>a</sub>" and transform it to "<sup>a</sup>".

XOWA integrates some of this functionality within its parser. However, it only implements a very small subset of the HTML tidy binary.

If you notice pages that are rendering incorrectly, you may want to enable HTML tidy. The following steps will need to be taken:

  • In the xowa.gfs file, change 'n' to 'y' for html.tidy_enabled_('n');
  • In the xowa.gfs file, point '.tidy_html' to the location of the binary (/usr/bin/tidy on Linux).
If you're on Windows, you should download HTML tidy and place it in /xowa/bin/windows/tidy
  • Restart XOWA

Namespaces

XOWA

Getting started

Help

Blog

Donate