# App/Xtn/Mediawiki/Tidy/tidy

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

| Note: This page is obsolete. It is preserved for historical reference only.

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

### XOWA

- Main page
- Screenshots
- Download XOWA
- Download wikis

### Getting started

- Requirements
- Installation
- Simple Wikipedia
- English Wikipedia
- Other Wikipedias

### Android

- Setup

### Help

- About
- Contents
- Media
- Feedback

### Blog

- Current

### Links

- Wikimedia dumps
- XOWA @ archive.org
- English Wikipedia

### Donate

- archive.org
- Wikipedia