Opened 14 years ago

Closed 12 years ago

#5521 closed Bug (invalid)

fullpage and enablexhtml jacking up head and body tags (adding extras)

Reported by: centrex Owned by:
Priority: Normal Milestone:
Component: General Version: FCKeditor 2.6.6
Keywords: Cc:

Description

If I paste the following into the source screen:

<html>
<head>
{html_header_includes}
</head>

<body>
{page_body}
</body>
</html>

then switch to html view and then back to source, the code becomes this:

<html>
	<head>
	</head>
	<body>
		{html_header_includes}</body>
</html>
<html xmlns="http://www.w3.org/1999/xhtml">
	<body>
		{page_body}</body>
</html>

Settings:

  config.fullPage = true;
  config.EnableXHTML = true;

Change History (2)

comment:1 Changed 14 years ago by Alfonso Martínez de Lizarrondo

Version: FCKeditor 2.6.6

comment:2 Changed 12 years ago by Jakub Ś

Resolution: invalid
Status: newclosed

FCKeditor is no longer supported and in CKEditor to get this working all you have to do is set protectedSource: /\{\w+\}/gi

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