When editing / saving, XH changes the line endings of the edited page according to the operating system (Linux: LF, Windows: CRLF, MacOS should also have LF by now). The standard content is delivered with LF. As soon as you make changes to the content in the way intended for a CMS, i.e. via the included editor, this mix may occur.
CRLF added in content.htm
Re: CRLF added in content.htm
Gruß Olaf, Plugins for CMSimple_XH
Ich habe schon lange den Verdacht, dass so viele so eifrig auf Gender, Trans und Queer machen:
Weil sie für das Fachliche ganz einfach zu doof sind.
Ich habe schon lange den Verdacht, dass so viele so eifrig auf Gender, Trans und Queer machen:
Weil sie für das Fachliche ganz einfach zu doof sind.
Re: CRLF added in content.htm
Thank you.olape wrote: ↑Mon Jul 22, 2024 5:35 amWhen editing / saving, XH changes the line endings of the edited page according to the operating system (Linux: LF, Windows: CRLF, MacOS should also have LF by now). The standard content is delivered with LF. As soon as you make changes to the content in the way intended for a CMS, i.e. via the included editor, this mix may occur.
I have just observed this further and realised that all texts edited online are affected by the error.
I also had this with the CKEditor. The cause is neither the online editor nor FileZilla.
And the file size doesn't play a role either, as I first suspected.
BTW: In the meantime I am using TinyMCE (v5) only, because it is much better than the old CKEditor we can use within CMSimple_XH.
Re: CRLF added in content.htm
Exactly, but if Filezilla, or any FTP client in general, is set up correctly and the corresponding files (htm, html, txt, csv, php, ...) are transferred in ascii mode, the problem is not noticeable because the line endings are adapted to the target system.
However, if you only unpack XH locally from the zip file and work on a Windows system, this problem occurs.
Or if you transfer everything binary via FTP and the target system is a Windows server.
Gruß Olaf, Plugins for CMSimple_XH
Ich habe schon lange den Verdacht, dass so viele so eifrig auf Gender, Trans und Queer machen:
Weil sie für das Fachliche ganz einfach zu doof sind.
Ich habe schon lange den Verdacht, dass so viele so eifrig auf Gender, Trans und Queer machen:
Weil sie für das Fachliche ganz einfach zu doof sind.