I'm using FCkeditor in a CMS with an custom tag system for including an listing of items like
<div class="body-txt">
{{LOOP_LIST:NEWSFLASH}}
<a title="{{NF_NAME}}" class="body-txt" href="newsflash.php?art={{NF_ID}}">{{NF_NAME}} </a>
{{/LOOP_LIST:NEWSFLASH}}
</div>
LOOP_LIST:[NAME] generates an list. this workes fine.
The problem is that LOOP_LIST needs to be on a single line to be generated.
IN FCKeditor after saving and opening again the source is formated as
<div class="body-txt"> {{LOOP_LIST:NEWSFLASH}} <a title="{{NF_NAME}}" class="body-txt" href="newsflash.php?art={{NF_ID}}">{{NF_NAME}} </a>
{{/LOOP_LIST:NEWSFLASH}} </div>
and the LOOP_LIST isn't generated correctly.
Someone knows a way to disable this autoformat sourcecode function. All I want is when I put a custom tag on a new line is that is stays on a new line.
Thanx
<div class="body-txt">
{{LOOP_LIST:NEWSFLASH}}
<a title="{{NF_NAME}}" class="body-txt" href="newsflash.php?art={{NF_ID}}">{{NF_NAME}} </a>
{{/LOOP_LIST:NEWSFLASH}}
</div>
LOOP_LIST:[NAME] generates an list. this workes fine.
The problem is that LOOP_LIST needs to be on a single line to be generated.
IN FCKeditor after saving and opening again the source is formated as
<div class="body-txt"> {{LOOP_LIST:NEWSFLASH}} <a title="{{NF_NAME}}" class="body-txt" href="newsflash.php?art={{NF_ID}}">{{NF_NAME}} </a>
{{/LOOP_LIST:NEWSFLASH}} </div>
and the LOOP_LIST isn't generated correctly.
Someone knows a way to disable this autoformat sourcecode function. All I want is when I put a custom tag on a new line is that is stays on a new line.
Thanx