Opened 10 years ago

Closed 10 years ago

#12093 closed Bug (invalid)

Use of '#' in DTD makes freemarker support impossible

Reported by: francis Owned by:
Priority: Normal Milestone:
Component: Core : Parser Version:
Keywords: Cc:

Description

Line 87 of dtd.js uses '#' for text nodes:

T = { '#': 1 },

This makes it impossible to support a plugin/widget for freemarker tags which start with '<#'.

Can you use a different symbol for text nodes (maybe '~') so this problem can be avoided?

Change History (1)

comment:1 Changed 10 years ago by Piotrek Koszuliński

Resolution: invalid
Status: newclosed

Content loaded to CKEditor should be a valid HTML. Or at least something that resembles it. Tags that start with <# are definitely nothing like that. And DTD will not be the only problem. Base of editing feature is a native technology so content is passed through DOM. And e.g. I see that <# will be encoded to &lt;# by at least Blink.

BTW. Check http://docs.ckeditor.com/#!/api/CKEDITOR.config-cfg-protectedSource

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