I can’t wait to get my paws on this new MT feature.As many others probably do, I’ve been struggling with formatting for quite a while.

My site is built and delivered using XML pipelines and stylesheets. The stock “Convert Line Breaks” isn’t to friendly to XHTML. It’s easy to start having problems when you enter a single line containing <ul></ul> and the “Convert To Breaks” puts that inside of <p></p> tags, which is invalid XHTML markup.

The only way around stuff like that is to type in ALL of the XHTML into each post which is a lot of work. Plus having XHTML in post content makes content reuse a litle bit harder in place where text only content is desired. Writing your own text formatting handlers will solve this problem quite nicely allowing each situation to have it’s own formatting routine.

Yes, I’m sure I could write a plugin, and use the MTMacros stuff from Brad Choat, but I just haven’t yet. And like the article points out, I would still have to alter all of my templates with new/changed tags.

Assuming the new formatting selection box makes it into the code, I wonder how they’ll deal with changing the format of all previous posts? Luckily, I’ve got a small amount of posts to tweak/clean/hack/bastardize when the time comes.

Bring it on!

See more posts about: perl | All Categories