Opened 12 years ago

Closed 11 years ago

Last modified 9 years ago

#1035 closed Bug (fixed)

MediaWiki+FCKeditor HTML comments missing

Reported by: Steve Bleazard Owned by:
Priority: Normal Milestone:
Component: Project : MediaWiki+FCKeditor Version: SVN (FCKeditor) - Retired
Keywords: Confirmed Cc:

Description

When a page is edited with HTML comments within the wikitext (<!-- ... -->) the comments are lost both in the FCKeditor page and the wikitext view

Change History (7)

comment:1 Changed 12 years ago by Frederico Caldeira Knabben

Component: GeneralProject : MediaWiki+FCKeditor
Keywords: HTML comment wiki wikitext removed
Milestone: FCKeditor 2.5

comment:2 Changed 12 years ago by Wiktor Walc

Ok, done on the PHP side. Still there is a problem in Javascript, HTML comments are changed into random numbers, e.g.

<!--test-->

is beinbg changed into:

{118639531717110} 

comment:3 Changed 12 years ago by Martin Kou

That should have to do with the things in FCKConfig.ProtectedSource ( you can find it in /editor/_source/internals/fckconfig.js ). The protect comment feature seems to work well with the vanilla version of FCKeditor, so there should be some conflicts betwen the ProtectedSource logic and the wikitext processor.

comment:4 Changed 11 years ago by Wojciech Olchawa

Keywords: Confirmed added

comment:5 Changed 11 years ago by Wojciech Olchawa

#1534 has been marked as DUP

comment:6 Changed 11 years ago by Wiktor Walc

Resolution: fixed
Status: newclosed

Fixed with [1866].

comment:7 Changed 11 years ago by Wiktor Walc

... and [1867].

Note: See TracTickets for help on using tickets.
© 2003 – 2019 CKSource – Frederico Knabben. All rights reserved. | Terms of use | Privacy policy