Opened 11 years ago
Last modified 11 years ago
#10679 confirmed Bug
IE complains if "@" is used right after comment start
Reported by: | Piotrek Koszuliński | Owned by: | |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | General | Version: | 3.0 |
Keywords: | IE | Cc: |
Description
Problem was described on forum: http://ckeditor.com/forums/CKEditor/ckeditor-causes-comments-prefixed-by-in-subsequent-scripts-to-be-executed-as-code-in
CKEditor uses conditional compilation to determine whether it is ran on IE. If CKEditor's source file is followed (even indirectly) by:
//@
or:
/*@
IE will parse this comment as a CC statement (although, I have no idea why :|) causing a very likely syntax error.
Possible workarounds:
- load CKEditor source after script with such comment,
- do not use @ right after comment start (space is enough).
Attachments (1)
Change History (5)
comment:1 Changed 11 years ago by
Status: | new → confirmed |
---|---|
Summary: | IE is complaining if @ used right after // or /* → IE complains if "@" is used right after comment start |
This issue already caused some minor problems in Drupal: https://drupal.org/node/1846214