{"id":7309,"date":"2005-04-01T09:31:44","date_gmt":"2005-04-01T16:31:44","guid":{"rendered":"http:\/\/hill-kleerup.org\/blog\/wp\/2005\/04\/01\/mt-mtpings-and-strange-behavior.html"},"modified":"2005-04-01T09:31:44","modified_gmt":"2005-04-01T16:31:44","slug":"mt_mtpings_and","status":"publish","type":"post","link":"https:\/\/hill-kleerup.org\/blog\/2005\/04\/01\/mt_mtpings_and.html","title":{"rendered":"MT, MTPings, and strange behavior"},"content":{"rendered":"<p>Took me a bit to track this one down, so I&#8217;ll create a post here about it in case someone else runs into the problem.<\/p>\n<p>With the introduction of <i>nofollow <\/i>plug-in (and Movable Type 3.15), something has gone wonky with the way that the MT HTML sanitize specs are applied to the MTPings tag.  Essentially, all HTML will get stripped out of an MTPings container &#8230; and extra line breaks (&lt;\/br&gt;) will be inserted.<\/p>\n<p>(Which was causing me some odd formatting problems at the top of this blog, where I use the MTPings container for listing recent trackbacks).<\/p>\n<p>According to <a href=\"http:\/\/www.movabletype.org\/support\/index.php?act=ST&#038;f=9&#038;t=48948&#038;hl=mtpings&#038;s=9dbb611dd1a68e4b901b28bfe816c4fb\" target=\"_blank\">this thread in the support fora<\/a>, it&#8217;s been reported, and you can get around it by either explicitly dropping sanitize in the MTPings container (&lt;MTPings sanitize=&#8221;0&#8243;&gt;) or else by adding the tags you need to the santize spec in mt.cfg or on a per-weblog config panel basis.  The former strikes me as a more secure process.<\/p>\n<p>So &#8230; if you&#8217;ve been struggling with odd formatting around MTPings &#8230; now you know why, and how to solve it.<\/p>\n<p><small>And, looking back at it, this is one of the more technically jargon-laden posts I&#8217;ve had here in a while.  I hope too many eyes didn&#8217;t glaze over.<\/small><\/p>\n","protected":false},"excerpt":{"rendered":"<p>Took me a bit to track this one down, so I&#8217;ll create a post here about it in case someone else runs into the problem. With the introduction of nofollow&#8230;<\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_seopress_robots_primary_cat":"","_seopress_titles_title":"","_seopress_titles_desc":"","_seopress_robots_index":"","_seopress_analysis_target_kw":"","_jetpack_memberships_contains_paid_content":false,"footnotes":"","jetpack_publicize_message":"","jetpack_publicize_feature_enabled":true,"jetpack_social_post_already_shared":false,"jetpack_social_options":{"image_generator_settings":{"template":"highway","default_image_id":0,"font":"","enabled":false},"version":2}},"categories":[3],"tags":[],"class_list":["post-7309","post","type-post","status-publish","format-standard","hentry","category-blogging"],"jetpack_publicize_connections":[],"jetpack_featured_media_url":"","jetpack_sharing_enabled":true,"jetpack-related-posts":[{"id":3676,"url":"https:\/\/hill-kleerup.org\/blog\/2002\/10\/09\/calling_securit.html","url_meta":{"origin":7309,"position":0},"title":"Calling security &#8230;","author":"***Dave","date":"Wed 9-Oct-02 7:05am","format":false,"excerpt":"Haven't installed MT 2.5 yet, but I found something I'll be installing at the same time: Brad Choate's Sanitize Plugin. Choate is one of the more prolific (and quality) MT...","rel":"","context":"In &quot;Blogging &amp; Internet&quot;","block_context":{"text":"Blogging &amp; Internet","link":"https:\/\/hill-kleerup.org\/blog\/category\/blogging"},"img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]},{"id":4022,"url":"https:\/\/hill-kleerup.org\/blog\/2003\/02\/26\/upgrade.html","url_meta":{"origin":7309,"position":1},"title":"Upgrade","author":"***Dave","date":"Wed 26-Feb-03 5:45am","format":false,"excerpt":"I've installed MT 2.63 here. You shouldn't see much of significance change from it -- I'm not adopting Textile or other formatting tools, etc. With the new Sanitize feature, though,...","rel":"","context":"In &quot;Blogging &amp; Internet&quot;","block_context":{"text":"Blogging &amp; Internet","link":"https:\/\/hill-kleerup.org\/blog\/category\/blogging"},"img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]},{"id":3234,"url":"https:\/\/hill-kleerup.org\/blog\/2003\/01\/08\/censor_sequel.html","url_meta":{"origin":7309,"position":2},"title":"Censor Sequel","author":"***Dave","date":"Wed 8-Jan-03 3:03pm","format":false,"excerpt":"So, last summer, folks got up in arms because the New York State Regents exams were bowdlerizing, censoring, altering, and otherwise messing around with the literature excerpts they included in...","rel":"","context":"In &quot;ZT &amp; PC&quot;","block_context":{"text":"ZT &amp; PC","link":"https:\/\/hill-kleerup.org\/blog\/category\/zt-pc"},"img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]},{"id":12307,"url":"https:\/\/hill-kleerup.org\/blog\/2008\/06\/03\/because_if_it_doesnt_suds.html","url_meta":{"origin":7309,"position":3},"title":"Because if it doesn&#8217;t suds up, smell lemony, and KILL EVERYTHING, you aren&#8217;t really getting it clean","author":"***Dave","date":"Tue 3-Jun-08 2:27pm","format":false,"excerpt":"Microfiber cloths clean things beautifully through mechanical action, without unleashing toxic fumes, polluting the water supply, or accelerating the evolution of resistant germs and bacteria. So why aren't they as...","rel":"","context":"In &quot;Big Business&quot;","block_context":{"text":"Big Business","link":"https:\/\/hill-kleerup.org\/blog\/category\/big-business"},"img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]},{"id":128544,"url":"https:\/\/hill-kleerup.org\/blog\/2015\/11\/04\/your-laptop-is-not-just-a-container-legally-at-least.html","url_meta":{"origin":7309,"position":4},"title":"Your laptop is not just a &quot;container&quot; (legally, at least)","author":"***Dave","date":"Wed 4-Nov-15 11:36pm","format":false,"excerpt":"A judge has ruled that laptops are more than just crates and cargo that can be willy-nilly seized and searched -- without a warrant -- in the border zone or at international airports. Rather, based on SCOTUS precedent, they can be presumed to hold so much private information that a\u2026","rel":"","context":"In &quot;~PlusPosts&quot;","block_context":{"text":"~PlusPosts","link":"https:\/\/hill-kleerup.org\/blog\/category\/blogging\/plusposts"},"img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]},{"id":138087,"url":"https:\/\/hill-kleerup.org\/blog\/2019\/03\/06\/kitchen-mis-design.html","url_meta":{"origin":7309,"position":5},"title":"Kitchen Mis-Design","author":"***Dave","date":"Wed 6-Mar-19 11:08pm","format":false,"excerpt":"The New Employer moved into this building last summer, everything all new-designed and spiffy and fresh. The kitchens are a disaster. They're huge, certainly -- forty feet long, a dozen feet wide. You could hold a small party in here. Entrances on either end, so traffic flow of that sort\u2026","rel":"","context":"In &quot;Architecture&quot;","block_context":{"text":"Architecture","link":"https:\/\/hill-kleerup.org\/blog\/category\/media\/architecture"},"img":{"alt_text":"","src":"https:\/\/i0.wp.com\/hill-kleerup.org\/blog\/wp\/wp-content\/uploads\/2019\/03\/work-kitchen.jpg?resize=350%2C200&ssl=1","width":350,"height":200,"srcset":"https:\/\/i0.wp.com\/hill-kleerup.org\/blog\/wp\/wp-content\/uploads\/2019\/03\/work-kitchen.jpg?resize=350%2C200&ssl=1 1x, https:\/\/i0.wp.com\/hill-kleerup.org\/blog\/wp\/wp-content\/uploads\/2019\/03\/work-kitchen.jpg?resize=525%2C300&ssl=1 1.5x, https:\/\/i0.wp.com\/hill-kleerup.org\/blog\/wp\/wp-content\/uploads\/2019\/03\/work-kitchen.jpg?resize=700%2C400&ssl=1 2x, https:\/\/i0.wp.com\/hill-kleerup.org\/blog\/wp\/wp-content\/uploads\/2019\/03\/work-kitchen.jpg?resize=1050%2C600&ssl=1 3x, https:\/\/i0.wp.com\/hill-kleerup.org\/blog\/wp\/wp-content\/uploads\/2019\/03\/work-kitchen.jpg?resize=1400%2C800&ssl=1 4x"},"classes":[]}],"_links":{"self":[{"href":"https:\/\/hill-kleerup.org\/blog\/wp-json\/wp\/v2\/posts\/7309","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/hill-kleerup.org\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/hill-kleerup.org\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/hill-kleerup.org\/blog\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/hill-kleerup.org\/blog\/wp-json\/wp\/v2\/comments?post=7309"}],"version-history":[{"count":0,"href":"https:\/\/hill-kleerup.org\/blog\/wp-json\/wp\/v2\/posts\/7309\/revisions"}],"wp:attachment":[{"href":"https:\/\/hill-kleerup.org\/blog\/wp-json\/wp\/v2\/media?parent=7309"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/hill-kleerup.org\/blog\/wp-json\/wp\/v2\/categories?post=7309"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/hill-kleerup.org\/blog\/wp-json\/wp\/v2\/tags?post=7309"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}