Note: I'm not sure if this is a tinyMCE or symfony bug, but the
resulting behavior is very strange :

I want to add this:

    <Files somefile.png>
        DefaultType application/x-httpd-php
    </Files>

This gets saved ok (as &lt; and &gt; in the html), but when I reopen
my form for editing, it gets transformed as :

    DefaultType application/x-httpd-php

I tried verify_html: false .... now my code gets transformed as :
    <p><files exec="" jpg=""><br /> DefaultType application/x-httpd-
php<br /></files></p>

My tinyMCE config is :
      tinyMCE.init({
        mode:                              "exact",
        elements:                          "content_contents",
        theme:                             "advanced",
        width:                             "500px",
        height:                            "400px",
        theme_advanced_toolbar_location:   "top",
        theme_advanced_toolbar_align:      "left",
        theme_advanced_statusbar_location: "bottom",
        theme_advanced_resizing:           true
        ,

        language : "fr",
            convert_urls : false,
            verify_html : false

      });





PS: I've also asked the question on stackoverflow:
http://stackoverflow.com/questions/4990104/input-code-in-tinymce

-- 
If you want to report a vulnerability issue on symfony, please send it to 
security at symfony-project.com

You received this message because you are subscribed to the Google
Groups "symfony users" group.
To post to this group, send email to symfony-users@googlegroups.com
To unsubscribe from this group, send email to
symfony-users+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/symfony-users?hl=en

Reply via email to