@@ -10,6 +10,7 @@ h2. Changes in 1.1
10
10
* New scanner: Taskpaper [#39, thanks to shimomura]
11
11
* Diff scanner: Highlight inline changes in multi-line changes [#99]
12
12
* JavaScript scanner: Highlight multi-line comments in diff correctly
13
+ * Ruby scanner: Accept %i and %I symbol lists (Ruby 2.0) [thanks to Nathan Youngman]
13
14
* Ruby scanner: Accept keywords as Ruby 1.9 hash keys [#126]
14
15
* HTML scanner displays style tags and attributes now [#145]
15
16
* Remove double-click toggle handler from HTML table output
@@ -22,11 +23,17 @@ h2. Changes in 1.1
22
23
* @CodeRay::TokenKinds@ should not be frozen [#130, thanks to Gavin Kistner]
23
24
* New token type @:id@ for CSS/Sass [#27]
24
25
* New token type @:done@ for Taskpaper [#39]
25
- * New token type @:map@ for Lua, introducing a nice nested-shades trick [#22, thanks to Quintus and nathany]
26
+ * New token type @:map@ for Lua, introducing a nice nested-shades trick [#22, thanks to Quintus and Nathan Youngman]
27
+ * New token type @:unknown@ for Debug scanner
26
28
* Display line numbers in HTML @:table@ mode even for single-line code (remove special case) [#41, thanks to Ariejan de Vroom]
27
29
* Override Bootstrap's @pre { word-break: break-all }@ styling for line numbers [#102, thanks to lightswitch05]
28
30
* Fixed @:docstring@ token type style
31
+ * Fixed several problems related to Hash caches and dynamic Symbol creation that might have been exploited by an attacker [#148]
32
+ * @PluginHost@ now works with Strings instead of Symbols internally (to avoid using @#to_sym@)
33
+ * The @Debug@ scanner maps unknown token kinds to @:unknown@ (to avoid creating Symbols based on possibly unsafe input)
34
+ * The @Raydebug@ scanner highlights unknown token kinds as @:plain@
29
35
* @Plugin@ does not warn about fallback when default is defined
36
+ * Fixed @HTML@ encoder when output is a StringIO (eg. when using @-HTML@)
30
37
* @HTML@ encoder will not warn about unclosed token groups at the end of the stream
31
38
* @Debug@ encoder refactored; use @DebugLint@ if you want strict checking now
32
39
* @Debug@ encoder will not warn about errors in the token stream
0 commit comments