# Diagnostics/HTML Tidy

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

## Overview

This page lists various tests showing the effect of HTML Tidy. Each <h2> section header below corresponds to a separate test. Enable / Disable HTML Tidy at Options/HTML_Tidy to see the difference (or press F7 to toggle on and off).

## unclosed tag should not extend over header (http://en.wikipedia.org/wiki/Wikipedia:Size_comparisons#Size_of_other_information_collections

`fails if "should not be small" is small`

small still small

### header (not small)

should not be small

## para inside span causes horizontal scroll (http://fr.wikipedia.org/wiki/Franz_Liszt#Liens_externes

`fails if horizontal scroll bar`

Diagnostics/HTML Tidy - Diagnostics/HTML Tidy - Diagnostics/HTML Tidy - Diagnostics/HTML Tidy - Diagnostics/HTML Tidy - Diagnostics/HTML Tidy - Diagnostics/HTML Tidy - Diagnostics/HTML Tidy - Diagnostics/HTML Tidy - Diagnostics/HTML Tidy - Diagnostics/HTML Tidy - Diagnostics/HTML Tidy - Diagnostics/HTML Tidy - Diagnostics/HTML Tidy -

## consecutive <dl>s should be separated by a <dd> (http://en.wikipedia.org/wiki/Palenque#References

`fails if "text should line up directly header" does not line up with "consecutive..."`

    text should line up directly underneath header

## empty list items should be removed ( http://sv.wikiquote.org/wiki/Winston_Churchill )

`fails if more than one list item`

- only one list item should appear

## empty <dd> should be removed (http://hu.wikipedia.org/wiki/Japan -- portál|Földrajz)

`fails if more than one line`

- should be on line 1 should also be on line 1

## bold and DT / DD (http://en.wikipedia.org/wiki/Enron#Former_management_and_corporate_governance

`fails if "should not be bold" is bold`

bold
  - should not be bold

## div inside span should be reparented correctly (http://it.wikipedia.org/wiki/Portale:Astronomia#Il_cielo_nel_mese_di_maggio

`fails if "should be on right" is not right of "should not be left"`

should be on right

should be on left

## <small> should be reparented out of <tr><td> correctly (http://en.wikipedia.org/wiki/France -- Infobox footnotes) (no longer an issue)

`fails if "should be small" is not small`

should be small

## add <td> between <tr> and <table> (http://en.wikipedia.org/wiki/Paris#Twin_towns_and_sister_cities

`fails if "text should be inside gray wikitable" is not actually in table`

- text should be inside gray wikitable

## merge nested tables and take 1st table's attributes (http://en.wiktionary.org/wiki/Kazakhstan#Declension

`fails if "text does not line up on left"`

text should line up on left

## reparent nested table not inside a <td> (http://it.wikipedia.org/wiki/Portale:Animali -- Main Body )

`fails if "text 2" is not directly underneath "text 1"`

text 1

text 2: should line up directly underneath text 1

## table inside span should be reparented correctly (http://ca.wikipedia.org/wiki/Evolució -- Infobox)

`fails if "text should be visible" is missing`

text should be visible

## div not inside td should be reparented correctly (http://fr.wikivoyage.org/wiki/Marrakech -- Infobox)

`fails if "should appear above table" is inside table`

should appear above table

cell_1
cell_2

### XOWA

- Main page
- Screenshots
- Video
- Download XOWA
- Download wikis

### Getting started

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

### Android

- Setup
- Video

### Help

- About
- Contents
- Media
- Feedback

### Blog

- Current

### Links

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

### Donate

- archive.org
- Wikipedia
- XOWA