<?xml version="1.0" encoding="utf-8"?>
<feed xmlns="http://www.w3.org/2005/Atom" 
      xmlns:thr="http://purl.org/syndication/thread/1.0">
  <link rel="alternate" type="text/html" href="http://forums.movabletype.org/2008/12/limit-html-tags-buncha-custom-jazz.html" />
  <link rel="self" type="application/atom+xml" href="http://forums.movabletype.org/atom.xml" />
  <id>tag:forums.movabletype.org,2011://24/tag:forums.movabletype.org,2008://24.11784-</id>
  <updated>2011-09-01T02:26:37Z</updated>
  <title>Comments for Limit HTML Tags: Buncha Custom Jazz</title>
  
  <generator uri="http://www.sixapart.com/movabletype/">Movable Type 4.292</generator>
  <entry>
    <id>tag:forums.movabletype.org,2008://24.11784</id>
    <link rel="alternate" type="text/html" href="http://forums.movabletype.org/2008/12/limit-html-tags-buncha-custom-jazz.html" />
    <link rel="service.edit" type="application/atom+xml" href="http://www.movabletype.org/cgi-bin/mt/mt-atom.cgi/weblog/blog_id=24/entry_id=11784" title="Limit HTML Tags: Buncha Custom Jazz" />
    <published>2008-12-21T07:47:04Z</published>
    <updated>2009-01-13T23:15:24Z</updated>
    <title>Limit HTML Tags: Buncha Custom Jazz</title>
    <summary>So I want to allow users in one of my MT forums to embed videos. This means I have to tweak the Limit HTML Tags setting to include my own stuff. Embedding a video requires object, param, and embed tags....</summary>
    <author>
      <name>Clifton</name>
      <uri>http://fusionfox.com</uri>
    </author>
    
    <category term="General" />
    
    <content type="html" xml:lang="en" xml:base="http://forums.movabletype.org/">
      <![CDATA[<p>So I want to allow users in one of my MT forums to embed videos. This means I have to tweak the <strong>Limit HTML Tags</strong> setting to include my own stuff.</p>

<p>Embedding a video requires object, param, and embed tags. It also requires several custom attributes: width, height, name, value, src, type, allowfullscreen, and allowscriptaccess.</p>

<p>Here&#8217;s what I put in the custom setting field:</p>

<pre><code>a href,b,i,br/,p,strong,em,ul,ol,li,blockquote,pre,embed,object,param,* width,* height, * name, * value,* src,* type,* allowfullscreen,* allowscriptaccess
</code></pre>

<p>&#8230;but it doesn&#8217;t work. Can anyone see what I&#8217;m doing wrong?</p>

<p>Thanks!</p>
]]>
      

    </content>
  </entry>

  <entry>
    <id>tag:forums.movabletype.org,2008://24.11784-comment:15406</id>
    <thr:in-reply-to ref="tag:forums.movabletype.org,2008://24.11784" type="text/html" href="http://forums.movabletype.org/2008/12/limit-html-tags-buncha-custom-jazz.html"/>
    <link rel="alternate" type="text/html" href="http://forums.movabletype.org/2008/12/limit-html-tags-buncha-custom-jazz.html#c15406" />
    <title>Comment from Rob Kenny on 2008-12-21</title>
    <author>
        <name>Rob Kenny</name>
        <uri></uri>
    </author>
    <content type="html" xml:lang="en" xml:base="">
        <![CDATA[<p>What happens?</p>

<p>Aren't width, height, name etc attributes not tags.</p>]]>
    </content>
    <published>2008-12-21T10:18:47Z</published>
  </entry>

  <entry>
    <id>tag:forums.movabletype.org,2008://24.11784-comment:15412</id>
    <thr:in-reply-to ref="tag:forums.movabletype.org,2008://24.11784" type="text/html" href="http://forums.movabletype.org/2008/12/limit-html-tags-buncha-custom-jazz.html"/>
    <link rel="alternate" type="text/html" href="http://forums.movabletype.org/2008/12/limit-html-tags-buncha-custom-jazz.html#c15412" />
    <title>Comment from Dan Wolfgang on 2008-12-21</title>
    <author>
        <name>Dan Wolfgang</name>
        <uri></uri>
    </author>
    <content type="html" xml:lang="en" xml:base="">
        <![CDATA[<p>Based on the fact that "a href" is listed, I bet you need to list "object width," "object height, "param name," etc. I don't see anything that indicates you can enter a wildcard like "*."</p>]]>
    </content>
    <published>2008-12-21T14:19:35Z</published>
  </entry>

  <entry>
    <id>tag:forums.movabletype.org,2008://24.11784-comment:15414</id>
    <thr:in-reply-to ref="tag:forums.movabletype.org,2008://24.11784" type="text/html" href="http://forums.movabletype.org/2008/12/limit-html-tags-buncha-custom-jazz.html"/>
    <link rel="alternate" type="text/html" href="http://forums.movabletype.org/2008/12/limit-html-tags-buncha-custom-jazz.html#c15414" />
    <title>Comment from Clifton on 2008-12-21</title>
    <author>
        <name>Clifton</name>
        <uri></uri>
    </author>
    <content type="html" xml:lang="en" xml:base="">
        <![CDATA[<p>I'm following the syntax rules [described here](http://www.sixapart.com/movabletype/docs/3.3/d_configuration_directives/globalsanitizespec.html). That's where I got the idea for the wild card use with the attributes.</p>

<p>The result of what I've attempted is the video embed code simply doesn't show up (taken straight from [Vimeo](http://vimeo.com)).</p>]]>
    </content>
    <published>2008-12-21T17:53:06Z</published>
  </entry>

  <entry>
    <id>tag:forums.movabletype.org,2008://24.11784-comment:15436</id>
    <thr:in-reply-to ref="tag:forums.movabletype.org,2008://24.11784" type="text/html" href="http://forums.movabletype.org/2008/12/limit-html-tags-buncha-custom-jazz.html"/>
    <link rel="alternate" type="text/html" href="http://forums.movabletype.org/2008/12/limit-html-tags-buncha-custom-jazz.html#c15436" />
    <title>Comment from Dan Wolfgang on 2008-12-22</title>
    <author>
        <name>Dan Wolfgang</name>
        <uri></uri>
    </author>
    <content type="html" xml:lang="en" xml:base="">
        <![CDATA[<p>Investigating a little by trying it, I do indeed see that the asterisk isn't being noted as a wildcard.</p>

<p>It doesn't actually work that way (look at the HTML output of a comment), nor does Sanitize.pm appear to deal with tags defined as such (well, the sanitization process deals with them correctly, but it doesn't get that far because parse_spec never adds wildcard attributes to the wildcard key).</p>

<p>Even looking at MT3, I don't think this ever worked. I submitted a bug report for this (http://bugs.movabletype.org/default.asp?86966).</p>]]>
    </content>
    <published>2008-12-22T17:25:05Z</published>
  </entry>

  <entry>
    <id>tag:forums.movabletype.org,2008://24.11784-comment:15438</id>
    <thr:in-reply-to ref="tag:forums.movabletype.org,2008://24.11784" type="text/html" href="http://forums.movabletype.org/2008/12/limit-html-tags-buncha-custom-jazz.html"/>
    <link rel="alternate" type="text/html" href="http://forums.movabletype.org/2008/12/limit-html-tags-buncha-custom-jazz.html#c15438" />
    <title>Comment from Clifton on 2008-12-22</title>
    <author>
        <name>Clifton</name>
        <uri></uri>
    </author>
    <content type="html" xml:lang="en" xml:base="">
        <![CDATA[<p>Thanks, Dan.</p>

<p>I initially tried just using *only* the tags I needed, and when that didn't work, I figured I needed to add custom attributes.</p>

<p>In the meantime, I'm using:</p>

<p>    </p>

<p>It sort of makes me nervous to leave things wide open like that, but oh well. :)</p>]]>
    </content>
    <published>2008-12-22T18:41:38Z</published>
  </entry>

  <entry>
    <id>tag:forums.movabletype.org,2008://24.11784-comment:15440</id>
    <thr:in-reply-to ref="tag:forums.movabletype.org,2008://24.11784" type="text/html" href="http://forums.movabletype.org/2008/12/limit-html-tags-buncha-custom-jazz.html"/>
    <link rel="alternate" type="text/html" href="http://forums.movabletype.org/2008/12/limit-html-tags-buncha-custom-jazz.html#c15440" />
    <title>Comment from Dan Wolfgang on 2008-12-22</title>
    <author>
        <name>Dan Wolfgang</name>
        <uri></uri>
    </author>
    <content type="html" xml:lang="en" xml:base="">
        <![CDATA[<p>Including "object width," "object height," etc should work. No?</p>]]>
    </content>
    <published>2008-12-22T19:56:03Z</published>
  </entry>

  <entry>
    <id>tag:forums.movabletype.org,2008://24.11784-comment:15446</id>
    <thr:in-reply-to ref="tag:forums.movabletype.org,2008://24.11784" type="text/html" href="http://forums.movabletype.org/2008/12/limit-html-tags-buncha-custom-jazz.html"/>
    <link rel="alternate" type="text/html" href="http://forums.movabletype.org/2008/12/limit-html-tags-buncha-custom-jazz.html#c15446" />
    <title>Comment from Clifton on 2008-12-22</title>
    <author>
        <name>Clifton</name>
        <uri></uri>
    </author>
    <content type="html" xml:lang="en" xml:base="">
        <![CDATA[<p>I'm using this:</p>

<p>**a href,b,i,br/,p,strong,em,ul,ol,li,blockquote,pre,embed,object,param,object width,object height,param name,param value,embed src,embed type,embed allowfullscreen,embed allowscriptaccess,embed width,embed height**</p>

<p>...and it doesn't work.</p>]]>
    </content>
    <published>2008-12-23T01:29:00Z</published>
  </entry>

  <entry>
    <id>tag:forums.movabletype.org,2008://24.11784-comment:15978</id>
    <thr:in-reply-to ref="tag:forums.movabletype.org,2008://24.11784" type="text/html" href="http://forums.movabletype.org/2008/12/limit-html-tags-buncha-custom-jazz.html"/>
    <link rel="alternate" type="text/html" href="http://forums.movabletype.org/2008/12/limit-html-tags-buncha-custom-jazz.html#c15978" />
    <title>Comment from Lisa Fogelman on 2009-01-08</title>
    <author>
        <name>Lisa Fogelman</name>
        <uri></uri>
    </author>
    <content type="html" xml:lang="en" xml:base="">
        <![CDATA[<p>I used this as my allowed HTML and got embeds to work: </p>

<p>a href,b,i,br/,p,strong,em,ul,ol,li,blockquote,pre,object width height,param name value,embed src type allowscriptaccess allowfullscreen</p>]]>
    </content>
    <published>2009-01-08T19:35:59Z</published>
  </entry>

  <entry>
    <id>tag:forums.movabletype.org,2008://24.11784-comment:16284</id>
    <thr:in-reply-to ref="tag:forums.movabletype.org,2008://24.11784" type="text/html" href="http://forums.movabletype.org/2008/12/limit-html-tags-buncha-custom-jazz.html"/>
    <link rel="alternate" type="text/html" href="http://forums.movabletype.org/2008/12/limit-html-tags-buncha-custom-jazz.html#c16284" />
    <title>Comment from Clifton on 2009-01-13</title>
    <author>
        <name>Clifton</name>
        <uri></uri>
    </author>
    <content type="html" xml:lang="en" xml:base="">
        <![CDATA[<p>I'll give that a try. Thanks, Lisa!</p>]]>
    </content>
    <published>2009-01-13T23:15:24Z</published>
  </entry>

</feed>

