Oops!  Typed "submit" instead of "snapshot" :O  Sorry.

On Thu, Sep 3, 2009 at 11:46 AM, <[email protected]> wrote:
>
> Revision: 3705
> Author: metaweta
> Date: Thu Sep  3 11:45:34 2009
> Log: Adds "comment" to the list of ignored element types in
> TemplateSanitizer.
> <unassigned>
>
> Adds "comment" to the list of ignored element types in TemplateSanitizer.
> Shindig doesn't render the demo gadget from our homepage without this.
>
> [email protected]
>
> http://code.google.com/p/google-caja/source/detail?r=3705
>
> Modified:
>  /trunk/src/com/google/caja/plugin/templates/TemplateSanitizer.java
>
> =======================================
> --- /trunk/src/com/google/caja/plugin/templates/TemplateSanitizer.java  Mon
> Jun  1 16:50:26 2009
> +++ /trunk/src/com/google/caja/plugin/templates/TemplateSanitizer.java  Thu
> Sep  3 11:45:34 2009
> @@ -113,7 +113,9 @@
>         // first occurrence of an attribute could be spoofed.
>         break;
>       }
> -      case Node.TEXT_NODE: case Node.CDATA_SECTION_NODE:
> +      case Node.TEXT_NODE:
> +      case Node.CDATA_SECTION_NODE:
> +      case Node.COMMENT_NODE:
>         break;
>       default:
>         throw new AssertionError(t.getNodeName());
>



-- 
Mike Stay - [email protected]
http://math.ucr.edu/~mike
http://reperiendi.wordpress.com

Reply via email to