#5859 closed Bug (invalid)
Non HTML Tags will be sort next by next
Reported by: | Hasan H. Gürsoy | Owned by: | |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | General | Version: | 3.3.1 |
Keywords: | Pending | Cc: |
Description
We use CKeditor for Mail Template creations and have some trouble since last Versions. We use Smarty Template Engine for our Template, which has Tags like
{foreach ......} HTML {/foreach}
By cleaning up the code, CKeditor produces somthing like that
{foreach ....} {/foreach} HTML
so the middle Part won't be iterated anymore.
Attachments (1)
Change History (6)
Changed 15 years ago by
Attachment: | sample.html added |
---|
comment:1 Changed 15 years ago by
Keywords: | Pending added |
---|
comment:2 Changed 15 years ago by
We use the default Settings, without any changes. You can put the source code in the demo here on the site in source view and change to normal view
comment:3 Changed 15 years ago by
ok i've checked it with protectedSource, so it would be safed on the right position, but it won't be displayed any more, so nobody could change position of them
comment:4 Changed 15 years ago by
Resolution: | → invalid |
---|---|
Status: | new → closed |
The problem here is that you have the tags in invalid places, like in between </tr> and <tr>. There is no way for the editor to render it properly, as this is invalid HTML.
You must either decide to leave the user to view and change the tags in wysiwyg view, but having tags only on valid places where a normal text node can be, or use protected source, having total freedom to place the tags anywhere in source view.
comment:5 Changed 15 years ago by
It would be nice, if you could check it against FCKeditor 2.6.4.1 In that version it has ran without any problems, thnx
Are you using the protected source feature to keep the smarty tags untouched? Other than the contents sample, do you have a sample page wit the editor, that can be used to test it.