Okay, here's a nother lame attempt at getting some help with my issues.

I have recently changed to xinha as WYSIWYG editor, because tinymce kept crapping out with Firefox 1.5 no matter what. xinha is great and works like a breeze, I only have one problem: it keeps adding head and body tags to the source code, which somehow leads to line breaks that are far from pretty. Now I could use the HTML filter, which elegantly filters out these tags, but that leads to another issue: it also filters out the <!--break--> delimiter which I use for teasers in my article section.

Now there are two possibilities:

1. I get xinha to stop adding head and body tags to the source.
2. I somehow manage to configure a html filter that allows comment tags.

Any advice?

Regards, Alex

Comments

neablo’s picture

i'm not very sure about your problem, but I have a suggestion how to disable the head tags:

open the file htmlarea.js in the xinha root (i use xinha-nightly, dont know what other versions there are)
and go to line 166 or simply search for "head" until you get to the line where there is HTMLArea.RE_head ...

i havent tested it yet, but you can play around with it, maybe just delete it, i dont know, if xinha misses this line

thats only a suggestion, i hope it helps!