« a tool for validation | Main | close comments and pings, or open them again »

conquering the 'convert line breaks' validation problems

In my previous entry about validation, I mentioned the many problems caused by MT's "convert breaks" setting. The solution is the beta FormatBreaks plugin. It gives you eight different options for formatting line breaks, four for HTML and four for XHTML. In each set there are normal and "smart" options. The normal options replicate MT's default settings and the "smart" options don't place line breaks around block elements like <div>s. You can do normal or smart with <p> tags or with all <br /> (<br> in the HTML versions). One of these versions should be enough to get your page to validate; you might have to experiment.

This is much better than having to go back and edit over two thousand old entries!!!

Comments

That's what I use, too. smile The only problem is that I can't switch to other text formatting options if I'm using it. Sometimes, it would be nice to use the Quick tags plugin that Crys wrote, but with FormatBreaks on, I have to turn of convert_breaks manually in the code. And that turns off the ability to pick text formatting on an individual basis. Someday, I'm hoping that FormatBreaks would turn into a text formatting plugin, so it was one of the options rather than the only option!! smile

I remember that this plugin first came out at least a year or more ago and it's still not an "official" plugin from Brad with a page on his website. It's too bad he hasn't finished developing it now that the option of text formatting filters is available (I don't think it was at the time he wrote the plugin).

Yeah, text formatting plugins weren't around until after he wrote it. Maybe I'll have to bug him about it again sometime soon and see if it would be something easily converted from a regular plugin into a text-formatting option. smile

About This Blog

  • Disclaimer: This is a personal site and is not connected with Six Apart, Ltd, the makers of Movable Type
  • Contact me:
  • Readme: What this blog is and is not
  • Reference: Templates for Al-Muhajabah's Islamic Blogs

August 2008

Sun Mon Tue Wed Thu Fri Sat
          1 2
3 4 5 6 7 8 9
10 11 12 13 14 15 16
17 18 19 20 21 22 23
24 25 26 27 28 29 30
31            

Tips by Type

Tips by Area

Other ways to read this blog

Feed Subscribe to this blog's feed
(default is RSS 2.0, I also have RSS 1.0 and Atom)

Text-only version
Powered by
Movable Type 3.2