Opened 9 years ago
Closed 9 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?
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<#
by at least Blink.BTW. Check http://docs.ckeditor.com/#!/api/CKEDITOR.config-cfg-protectedSource