Opened 16 years ago

Closed 16 years ago

#1050 closed Bug (fixed)

HTML dialog is parsed as php

Reported by: Jon Håvard Gundersen Owned by:
Priority: Normal Milestone: FCKeditor 2.5 Beta
Component: General Version:
Keywords: Cc:


At our server all *.html files are parsed as php, because of this the file /dialog/fck_docprops.html is wrongly parsed as php since the following sentence appear at line 285:

FCK.XmlDeclaration = '<?xml version="1.0" encoding="' + sCharSet + '"?>' ;

It would have been nice if you could have changed this to

FCK.XmlDeclaration = '<' + '?xml version="1.0" encoding="' + sCharSet + '"?>' ;

so I don't have to change this everytime I update the editor.

Change History (2)

comment:1 Changed 16 years ago by Frederico Caldeira Knabben

Milestone: FCKeditor 2.5
Priority: LowNormal

comment:2 Changed 16 years ago by Martin Kou

Resolution: fixed
Status: newclosed

Fixed with [644].

This bug isn't strictly FCKeditor's fault though, as you have to put it under a rather non-standard environment ( setting the php parser to parse .html files, and setting short_open_tag enabled in PHP's configuration ) for it to appear. We usually don't do this kind of very specific fixes, but it's ok for this case since the change is very minor and should be safe in any environment.

Note: See TracTickets for help on using tickets.
© 2003 – 2022, CKSource sp. z o.o. sp.k. All rights reserved. | Terms of use | Privacy policy