[geeklog-hg] geeklog: CKEditor: removed the protection of autotags with the e...

geeklog-cvs at lists.geeklog.net geeklog-cvs at lists.geeklog.net
Sun Jan 26 06:37:50 EST 2014


changeset 9452:2ce342c51931
url:  http://project.geeklog.net/cgi-bin/hgwebdir.cgi/geeklog/rev/2ce342c51931
user: dengen <taharaxp at gmail.com>
date: Sun Jan 26 20:37:09 2014 +0900
description:
CKEditor: removed the protection of autotags with the exception of [raw] and [code]

diffstat:

 public_html/editors/ckeditor/config.js |  2 --
 1 files changed, 0 insertions(+), 2 deletions(-)

diffs (13 lines):

diff -r b55b45f5bfea -r 2ce342c51931 public_html/editors/ckeditor/config.js
--- a/public_html/editors/ckeditor/config.js	Sun Jan 26 17:06:17 2014 +0900
+++ b/public_html/editors/ckeditor/config.js	Sun Jan 26 20:37:09 2014 +0900
@@ -103,9 +103,7 @@
 
 	config.protectedSource.push(/<pre[\s\S]+?\/pre>/g);
 	config.protectedSource.push(/\[code[^:][\s\S]+?\/code\]/g);
-	config.protectedSource.push(/\[code:[a-z0-9_]+[\s\S]+?\/code:[a-z0-9_]+\]/g);
 	config.protectedSource.push(/\[raw[\s\S]+?\/raw\]/g);
-	config.protectedSource.push(/\[[a-z0-9_:]+\]/g);
 
 	config.toolbar = 'toolbar1';
 



More information about the geeklog-cvs mailing list