Not a developer? Go to

Plugin and Theme Directory

SanitizeBlogs 2 v1.2.2

By François Nonnenmacher
Posted September 27, 2010, in Editing.


Specify HTML tags and attributes allowed in entry/page fields based upon system or blog settings.

Functions in a similar manner as, but is distinct from, the GlobalSanitizeSpec configuration directive.

A typical use case of this plugin is to cleanup the tag soup introduced by authors copying texts from Microsoft Word and pasting them in the rich text editor. Newest versions of MS Word will typically introduce invalid HTML code that can break a site layout and CSS styles. Also, and contrary to the MT sanitization default behavior, SanitizeBlogs 2 can allow the use of white-listed javascript events (such as the 'onclick' event generated by the Asset Manager for full-size images popups). You should only use this feature on blogs which authors you trust.

SanitizeBlogs 2 is a variant of the mt-plugin-SanitizeBlogs by Six Apart. While the Six Apart version sanitizes blogs based upon a blog URL prefix (useful for blogs published under the Community Platform), the present variant is more useful for a blog farm where you want all blogs to be sanitized with the ability to refine or prevent the sanitization for selected blogs.


Movable Type versions:



Jay on October 26, 2010, 9:45 p.m. Reply

I’m using this plugin with MT 5.03 and it works great. Strips all of the crap that Word tends to add to rich text.

DavidRemer on March 5, 2011, 5:19 a.m. Reply

I loaded this plugin, and it worked as advertised. However, I had a need to retain onclick javascript HTML in my entries for images, and contacted the Plugin’s author about this.

Amazingly, the author Francois, was very approachable, and reworked the plugin to accommodate my need. I was truly impressed. Now, I am able to sanitize those MS Wordprocessing codes without losing my image enlargement functionality for entries.

Great plug-in. Exceptional plug-in author.

George on June 25, 2012, 11:42 a.m. Reply

This is so useful! So glad I found it!

Rybalka on June 27, 2012, 5:20 a.m. Reply

Francois, you are my hero!)) I’m pretty new with MT 5.x but your plugin is awesome.

Eddie Craig on July 13, 2012, 9:43 p.m. Reply

Yeap, I have this problem with MS Word. When I paste a text from Word to my cms it gives me extra code which is visible on the screen. I have to remove it and I also have to correct the empty spaces.


Toby on June 22, 2017, 6:53 a.m. Reply

The information in these verses are as applicable today as it was 2000 years back. downlodable freeware Incom-Direct can provide you the lowest card processing fees around.


binasa on July 3, 2017, 12:24 a.m. Reply

Now, when you visit Cape May, you can easily access your favorite and most complete guide to tours and activities. download driver Kontakt:Michael Mller Verlag GmbHGerberei 1991054 ErlangenTel.


vijaygopalbalasa on May 1, 2018, 4:05 p.m. Reply

here is the latest version of samsung odin tool source


Akash on June 30, 2018, 6:17 a.m. Reply

You can find the Best iOS Emulator for Android.Its really helpful.Thanks.


Jerawat on July 29, 2018, 2:08 a.m. Reply

Jerawat adalah sebuah masalah yang harus segara di tangani karena jika tidak akan membuat penampilan kita menjadi kurang menarik, untuk anda yang mempunyai masalah jerawat anda bisa mengunjungi blog info jerawat terbaru dan blog jerawat alami cepat karena di sana anda akan menenemukan berbagai macam cara membersihkan jerawat dengan cepat atau cara menghilangkan bekas jerawat secara alami

Jennifer Grace

Jennifer Grace on August 2, 2018, 1:43 p.m. Reply

I was always confused to plugin because I have not known but now I am reading this post very carefully and I am happy a lot. Assignment Writing Service for students best and I want to share this information with others.


Samyukta85 on October 30, 2018, 7:20 a.m. Reply

Recently, I’ve started using Printable Calendar to manage my time and work activities. It’s working really good, now i’m able to manage time in an efficient manner.


PRJ on December 11, 2018, 12:27 a.m. Reply

Yeap, I have this problem with MS Word. When I paste a text from Word to my cms it gives me extra code which is visible on the screen. I have to remove it and I also have to correct the empty spaces.



angelinajolie on March 5, 2019, 1:13 p.m. Reply

Information is very important for different platform. It is necessary for understanding things. There is also some kind of errors captured during my project Beach resorts in Gokarna . Now I can understand the reason. The style sheet changed due to the reason you had specified here.


clickerheroesgame on March 16, 2019, 10:49 a.m. Reply

The sadness suddenly became longer clicker heroes


Fresusue on April 22, 2019, 12:54 p.m. Reply

Bagaimana kita akan membuat tubuh menjadi lebih ideal, jawabannya adalah dengan melakukan diet alami atau diet cepat dan aman untuk tubuh air debm sehat golongan darah ibu tanpa deddy jeruk untuk ibu yang yg dengan jeruk mengecilkan tidak makan teh golongan darah ab


alexadusselo on July 8, 2019, 4:28 p.m. Reply

We help people achieve that dream every day using money they already have,” says Fischer. zalukaj


alexadusselo on July 8, 2019, 4:29 p.m. Reply


moffu on September 16, 2019, 11:54 a.m. Reply

Nice article. Thanks for sharing such informative article. Great job see:

Kristy Murphy

Kristy Murphy on September 27, 2019, 6:22 a.m. Reply

That’s a great idea you have, and yes this would make use of the information you have provided us through this blog. I will share your thoughts with all my friends Assignment Help Melbourne

Kristy Murphy

Kristy Murphy on September 27, 2019, 6:23 a.m. Reply

Very valuable information, it is not at all blogs that we find this, congratulations I was looking for something like that and found it here. Assignment Help Melbourne

ssc online shopping in pakistan

ssc online shopping in pakistan on October 4, 2019, 1:54 p.m. Reply

online shopping in pakistan

SSC Online being delighted by SSC for original brands as there is no other name reliable. We have the huge range of products for … You’ve visited By

muneer ahmed

muneer ahmed on November 2, 2019, 8:12 p.m. Reply

Excellent article plus its information and I positively bookmark to this site because here I always get an amazing knowledge as I expect. Thanks for this to share with us buy fb likes

Leave a Comment

François Nonnenmacher

Founder of Ubiquitic, a web consultancy based in Noumea, New Caledonia. François has more than 10 years of experience with Movable Type (from the time it was just Mena and Benjamin Trott in a garage!) and has implemented it in small and big business sites, such as the blogs of the Capgemini Group, as well as the blogs of Le Figaro, the first online news site in France.

Twitter: @François Nonnenmacher