#4351: Dashes cannot be used in attribute names ---------------------+------------------------------------------------------ Reporter: niek | Owner: Type: Bug | Status: new Priority: Normal | Milestone: CKEditor 3.x Component: General | Version: CKEditor 3.0 Keywords: | ---------------------+------------------------------------------------------ The CKEditor htmlParser uses a regular expression to check for valid attributes. This regex however, does not allow dashes to be used in the attribute name.
If I'm correct, dashes are allowed as character in an attribute name, and the "\w" set, does not include the dash. Therefore, the dash should be added separately (like the colon). htmlparser.js: {{{ - 21. var attribsRegex = /([\w:]+)... + 21. var attribsRegex = /([\w:\-]+)... }}} -- Ticket URL: <http://dev.fckeditor.net/ticket/4351> CKEditor <http://ckeditor.com/> The text editor for Internet ------------------------------------------------------------------------------ Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now. http://p.sf.net/sfu/bobj-july _______________________________________________ FCKeditor-Trac mailing list FCKeditor-Trac@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/fckeditor-trac