Page Dwoo error?

edited February 2013 in Bug Reports
I'm not sure if this is an error, but it's definitely not working the way I believe it should.
I'm using V1.0 beta.

When I post something like the following in the Pages module of fuel (not a simple or advanced module):
<p style="display:table;"><a href="http://site1.ca/" style="display: table-cell" target="_blank"><img alt="alt text" src="{img_path('site1logo.jpg')}" style="width: 200px; margin: 50px 20px;" title="title text" /></a><a href="http://site2.com/" style="display: table-cell" target="_blank"><span style="display: none;">&nbsp;</span><span style="display: none;">&nbsp;</span><img alt="alt text" src="/assets/images/sitelogo.jpg" style="width: 200px; margin: 50px 20px;" title="title text" /><span style="display: none;">&nbsp;</span><span style="display: none;">&nbsp;</span></a><a href="http://site3.com/" style="display: table-cell" target="_blank"><img alt="alt text" src="{img_path('site3logo.jpg')}" style="width: 200px; margin: 50px 20px;" title="title text" /></a><span style="display: table-cell; text-align: center; color: #000;"><img alt="alt text" src="{img_path('site4logo.jpg')}" style="width: 200px; margin: 50px 20px;" title="title text" /><br /> 443 The Queensway S<br />

And then save it, I get the following:
<p style="display:table;"><a href="http://site1.ca/" style="display: table-cell" target="_blank"><img alt="alt text" src="{img_path('site1logo.jpg')}')}" style="width: 200px; margin: 50px 20px;" title="title text" /></a><a href="http://site2.com/" style="display: table-cell" target="_blank"><span style="display: none;">&nbsp;</span><span style="display: none;">&nbsp;</span><img alt="alt text" src="{img_path('site2logo.jpg')}" style="width: 200px; margin: 50px 20px;" title="title text" /><span style="display: none;">&nbsp;</span><span style="display: none;">&nbsp;</span></a><a href="http://site3.com/" style="display: table-cell" target="_blank"><img alt="alt text" src="{img_path('{img_path('site3logo.jpg')}')}" style="width: 200px; margin: 50px 20px;" title="title text" /></a><span style="display: table-cell; text-align: center; color: #000;"><img alt="alt text" src="{img_path('{img_path('site4logo.jpg')}" style="width: 200px; margin: 50px 20px;" title="title text" /><br /> 443 The Queensway S<br /> Keswick, ON</span></p>

Specifically the {img_path('')} part gets randomly duplicated, extended, modified. Even if I REMOVE {img_path and replace with /assets/images it puts it back and the cycle repeats.

Thoughts?

Thanks.

Comments

  • edited 12:26PM
    Are you using CKEditor to enter in that content by chance and is this the latest version? I pushed a fix (or what I hoped was a fix) for a similar issue with CKEditor and it replicating parts of the img_path function and am wondering if it either fixed the issue or caused a different issue.
  • edited 12:26PM
    I have CKEditor enabled, but was editing through the source (MarkItUp). I believe I updated the source about a month and a half ago. How long ago did you push that fix you mention?
  • edited 12:26PM
    Yesterday is when I updated it. I did notice some other strange behavior with how it seems to render some of the attributes after you save and it appears to be something CKEditor is doing from what I could tell. If I removed the style attributes and some of the misc. span tags, it worked fine.
  • edited 12:26PM
    I grabbed the latest update and applied it, seems to have fixed a couple things I was seeing.
    Thanks! :)
Sign In or Register to comment.