cubecart / v6

CubeCart Version 6
https://cubecart.com
71 stars 58 forks source link

CKEditor Bug <!--{cke_temp_3964703717} #3573

Open abrookbanks opened 2 months ago

abrookbanks commented 2 months ago

The rich text editor seems to be corrupting some HTML code.

e.g.

<html>
<head>
    <title>Store Closed</title>
    <meta http-equiv="Refresh" content="0; url='https://example.com/store-closed.html'" />
</head>
<body>
<p>Store Closed</p>
</body>
</html>

After saving, it was replaced with this:

<html>
<head>
    <title>Store Closed</title>
    <!--{cke_temp_3862409646}
</head>
<body>
<p>0--&gt;</p>

<p>Store Closed</p>
</body>
</html>
bhsmither commented 2 months ago

Does #3427 apply?

No. This is something new.

It probably (but not verified) still only affects a class="fck-full" type editor, because there may be nesting rules applied to the <head> section.

No, happens everywhere. But the experiment is using a tag that may be illegal (not in CKEditor's permissable tags list): <meta>

bhsmither commented 2 months ago

I did post this:

https://github.com/ckeditor/ckeditor4/issues/4506
https://github.com/IGx89/CKEditor-ShowProtected-Plugin/issues/10