/* TODO
    Fix XML highlighting
 */

Prism.languages.actionscript = Prism.languages.extend('javascript',  {
    'keyword': [
        // Lexical keywords
        // Intentionally ignore true and false that are already handled as booleans
        /\b(?:as|break|case|catch|class|const|default|delete|do|else|extends|finally|for|function|if|implements|import|in|instanceof|interface|internal|is|native|new|null|package|private|protected|public|return|super|switch|this|throw|try|typeof|use|var|void|while|with)\b/,
        // Syntactic keywords
        /\b(?:each|dynamic|final|get|include|namespace|native|override|set|static)\b/
    ],
    'number': /\b-?(\d*\.?\d+([Ee][+-]?\d+)?|NaN|-?Infinity)\b/g,
    'operator': /(?:[+\-*\/%^]|&&?|\|\|?|<<?|>>?>?|[!=]=)=?|[=~?@]/,
    'function': /(?!\d)[a-z0-9_$]+(?=\()/ig
});
Prism.languages.actionscript['class-name'].alias = 'function';

Prism.languages.insertBefore('actionscript', 'operator', {
    'xml': {
        pattern: /(^|[^.])<[\s\S]*>(?=\s*($|[\r\n,.;\]})<]))/,
        inside: {
            rest: Prism.languages.markup
        }
    }
});
@@ -1,20 +1,17 @@
 /* TODO%0A
-    
+%09
 Fix XML 
@@ -99,20 +99,17 @@
 pt',  %7B%0A
-    
+%09
 'keyword
@@ -113,24 +113,18 @@
 ord': %5B%0A
-        
+%09%09
 // Lexic
@@ -135,24 +135,18 @@
 eywords%0A
-        
+%09%09
 // Inten
@@ -213,24 +213,18 @@
 ooleans%0A
-        
+%09%09
 /%5Cb(?:as
@@ -482,24 +482,18 @@
 th)%5Cb/,%0A
-        
+%09%09
 // Synta
@@ -506,24 +506,18 @@
 eywords%0A
-        
+%09%09
 /%5Cb(?:ea
@@ -590,19 +590,13 @@
 %5Cb/%0A
-    %5D,%0A    
+%09%5D,%0A%09
 'num
@@ -653,20 +653,17 @@
 y)%5Cb/g,%0A
-    
+%09
 'operato
@@ -719,20 +719,17 @@
 =~?@%5D/,%0A
-    
+%09
 'functio
@@ -887,20 +887,17 @@
 tor', %7B%0A
-    
+%09
 'xml': %7B
@@ -897,24 +897,18 @@
 xml': %7B%0A
-        
+%09%09
 pattern:
@@ -954,24 +954,18 @@
 )%3C%5D))/,%0A
-        
+%09%09
 inside: 
@@ -970,20 +970,11 @@
 : %7B%0A
-            
+%09%09%09
 rest
@@ -1002,22 +1002,13 @@
 kup%0A
-        %7D%0A    
+%09%09%7D%0A%09
 %7D%0A%7D)

Fix spacing