Opened 9 years ago

Closed 9 years ago

#1050 closed Bug (fixed)

HTML dialog is parsed as php

Reported by: jonhg 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 9 years ago by fredck

  • Milestone set to FCKeditor 2.5
  • Priority changed from Low to Normal

comment:2 Changed 9 years ago by martinkou

  • Resolution set to fixed
  • Status changed from new to closed

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 – 2016 CKSource – Frederico Knabben. All rights reserved. | Terms of use | Privacy policy