Jump to main content Jump to doc navigation

This plugin is based on PHP Tidy parser, ported to MODX by goldsky. This is only for MODX Revolution, and can be downloaded from the Package Management. This runs on the MODX's OnWebPagePrerender event trigger.

To change properties of this plugin, change them in the plugin's property tab. The complete reference of the property can be found in HTML Tidy Configuration Options

HTML 5

Edit new-blocklevel-tags, add this:

article, aside, bdi, command, details, summary, figure, figcaption, footer, header, hgroup, mark, meter, nav, progress, ruby, rt, rp, section, time, wbr, audio, video, source, embed, track, canvas, datalist, keygen, output

UTF 8

To make this plugin works for UTF-8 characters, change char-encoding, input-encoding, and output-encoding, to utf8

Support the team building MODX with a monthly donation.

The budget raised through OpenCollective is transparent, including payouts, and any contributor can apply to be paid for their work on MODX.

Backers

  • modmore
  • STERC
  • Digital Penguin
  • Jens Wittmann – Gestaltung & Entwicklung
  • Fabian Christen
  • Dannevang Digital
  • Sepia River Studios
  • CrewMark
  • Chris Fickling
  • deJaya
  • eydolan
  • Lefthandmedia
  • Murray Wood
  • Following Sea
  • Anton Tarasov
  • Stéphane Jäggi
  • Raffy
  • Snow Creative
  • A. Moreno
  • Nick Clark
  • JT Skaggs
  • Helen
  • YJ
  • krisznet
  • Richard
  • Yanni

Budget

$306 per month—let's make that $500!

Learn more