Go to main content

Textpattern CMS support forum

You are not logged in. Register | Login | Help

#1 2006-09-15 00:24:26

jm
Plugin Author
From: Missoula, MT
Registered: 2005-11-27
Posts: 1,746
Website

jmd_html - XHTML to HTML plugin

Download 0.4

This plugin converts XHTML self-closing, “/>,” tags to HTML ones (“>”). It’s a barebones plugin, so it doesn’t ouput a DTD for you. All you have to do is activate it!

Credits

Last edited by jm (2009-02-13 23:33:37)

Offline

#2 2006-09-16 00:39:21

phiw13
Plugin Author
From: Japan
Registered: 2004-02-27
Posts: 3,207
Website

Re: jmd_html - XHTML to HTML plugin

Does the job. Correctly. (In my first tests).

;-)


Where is that emoji for a solar powered submarine when you need it ?
Sand space – admin theme for Textpattern

Offline

#3 2006-09-17 00:06:14

mstwntd
Member
From: Melbourne, Australia
Registered: 2004-12-25
Posts: 52

Re: jmd_html - XHTML to HTML plugin

Thanks a lot for this.

Offline

#4 2008-02-14 05:54:13

jm
Plugin Author
From: Missoula, MT
Registered: 2005-11-27
Posts: 1,746
Website

Re: jmd_html - XHTML to HTML plugin

0.2 accounts for <element/> and <element />.

Offline

#5 2009-02-13 14:49:19

sewm
New Member
From: Toronto, Canada
Registered: 2004-05-08
Posts: 9
Website

Re: jmd_html - XHTML to HTML plugin

I’m running this with TextPattern 4.0.8 and it doesn’t seem to be changing anything.

The plugin is definitely installed and activated. I tried changing the order to 1 but that had no effect. The only other plugins I have installed are gbp_admin_library and gbp_permanent_links.

What’s the best way to verify that the plugin is actually getting run when a page is generated?

Thanks.

Offline

#6 2009-02-13 23:31:57

jm
Plugin Author
From: Missoula, MT
Registered: 2005-11-27
Posts: 1,746
Website

Re: jmd_html - XHTML to HTML plugin

Sam – give 0.4 a shot. (I just realized I forgot to update the post for 0.3 last July!). The best way to verify the conversion would be to create a blank TXP page and insert a bunch of XML/XHTML closings, like <foo/> <bar /> <baz /> and check the source to see if they’re converted.

Offline

#7 2009-02-14 01:03:18

sewm
New Member
From: Toronto, Canada
Registered: 2004-05-08
Posts: 9
Website

Re: jmd_html - XHTML to HTML plugin

Thanks that’s done the trick!

Offline

#8 2011-06-04 13:11:22

[Axel]
Member
From: Switzerland/Denmark
Registered: 2007-07-26
Posts: 65
Website

Re: jmd_html - XHTML to HTML plugin

Found a bug, that gave me a real headache.

If you download a file through txp:file_download, the streamed file gets also filtered by the plugin, hence to this it removes slashes ending up in a corrupt file.


Greetz [Axel]

Offline

Board footer

Powered by FluxBB