https://www.redmine.org/https://www.redmine.org/favicon.ico?16793021292009-04-02T17:33:47ZRedmineRedmine - Defect #3072: <div style=''> does not work as advertisedhttps://www.redmine.org/issues/3072?journal_id=84132009-04-02T17:33:47ZJean-Philippe Langjp_lang@yahoo.fr
<ul><li><strong>Status</strong> changed from <i>New</i> to <i>Closed</i></li><li><strong>Resolution</strong> set to <i>Wont fix</i></li></ul><p>Inline styling was disabled some time ago for security reasons.</p> Redmine - Defect #3072: <div style=''> does not work as advertisedhttps://www.redmine.org/issues/3072?journal_id=84152009-04-02T17:35:21ZJean-Philippe Langjp_lang@yahoo.fr
<ul></ul><p>PS: if you need that feature, you can turn it on here:<br /><a class="source" href="https://www.redmine.org/projects/redmine/repository/svn/revisions/2192/entry/trunk/lib/redmine/wiki_formatting/textile/formatter.rb#L33">source:/trunk/lib/redmine/wiki_formatting/textile/formatter.rb@2192#L33</a></p> Redmine - Defect #3072: <div style=''> does not work as advertisedhttps://www.redmine.org/issues/3072?journal_id=84252009-04-03T06:04:34ZYuval Hager
<ul></ul><p>Thanks for the tip - I'll test that soon.</p> Redmine - Defect #3072: <div style=''> does not work as advertisedhttps://www.redmine.org/issues/3072?journal_id=84262009-04-03T06:33:07ZYuval Hager
<ul></ul><p>Actually, I tried setting <code>self.filter_styles=false</code> and even added self.filter_html=false, but still there is no change in behavior (div styles are escaped).</p>
<p>Is there any cache that needs to be cleaned for the settings to take effect? I am no ruby programmer..</p>
<p>Thanks,</p> Redmine - Defect #3072: <div style=''> does not work as advertisedhttps://www.redmine.org/issues/3072?journal_id=85062009-04-06T08:24:22ZYuval Hager
<ul><li><strong>File</strong> <a href="/attachments/1831">yh.patch</a> <a class="icon-only icon-download" title="Download" href="/attachments/download/1831/yh.patch">yh.patch</a> added</li></ul><p>I finally managed to make it work by patching lib/redcloth3.rb (patch attached).</p>