(function (env) {
    "use strict";
    env.ddg_spice_coderwall = function(api_result){

        // Check if API provided information
        if ($.isEmptyObject(api_result.data)) {
            return Spice.failed('coderwall');
        }

        Spice.add({
            id: "coderwall",
            name: "Social",
            data: api_result.data,
            meta: {
                sourceName: "Coderwall",
                sourceUrl: 'https://coderwall.com/' + api_result.data.username
            },

            normalize: function(item) {
                // Profile URL templates: {{}} is replaced with username
                var account_url = {
                    github: 'https://github.com/{{}}',
                    twitter: 'https://twitter.com/{{}}'
                };
                // Username display formats
                var account_name = {
                    twitter: '@{{}}'
                };
                var subtitles = [];
                $.each(item, function(service, name) {
                    // Check that we have a profile url template and
                    // coderwall actually provided a name instead null
                    if (account_url[service] && name) {
                        subtitles.push({
                            href: account_url[service].replace('{{}}', name),
                            text: account_name[service]
                                ? account_name[service].replace('{{}}', name)
                                : name
                        });
                    }
                });
                if (item.title) {
                  subtitles.push(item.title);
                }
                return {
                    image: item.avatar.url,
                    title: item.name,
                    subtitle: subtitles,
                    altSubtitle: item.location,
                    description: item.about
                };
            },

            templates: {
                group: 'icon',
                variants: {
                    iconImage: 'large'
                },
                options: {
                    content: DDH.coderwall.content
                }
            }
        });
    };

    Handlebars.registerHelper("parseMD", function(content){
        var contentArr = [];
        if (!content) return;
        else content.split(/\n+/).forEach(function(line) {
            // exclude lines that are only whitespace characters
            if (/[a-z0-9]/.test(line)) {
                line = line.replace(/\*\*(.+?)\*\*/g, '<strong>$1</strong>') // bold
                  .replace(/(?:_(.+?)_|\*(.+?)\*)/g, '<em>$1$2</em>') // italicize
                  .replace(/`(.+?)`/g, '<code>$1</code>') // monospace
                  .replace(/~~(.+?)~~/g, '<del>$1</del>') // strikethrough
                  .replace(/\[(.+?)\]\((.+?)\)/g, '<a href="$2" class="tx-clr--dk2">$1</a>'); // create links
                contentArr.push(line);
            }
        });
        var result = contentArr.join('<br>'); //add linebreaks
        return new Handlebars.SafeString(result);
    });
}(this));

@@ -2260,23 +2260,21 @@
 unction(
-content
+value
 )%7B%0A     
@@ -2280,26 +2280,22 @@
     var 
-contentArr
+result
  = %5B%5D;%0A 
@@ -2306,23 +2306,21 @@
    if (!
-content
+value
 ) return
@@ -2334,23 +2334,136 @@
    else 
-content
+%7B%0A            // no cross site scripting%0A            value = Handlebars.Utils.escapeExpression(value);%0A            value
 .split(/
@@ -2489,24 +2489,28 @@
 ion(line) %7B%0A
+    
             
@@ -2570,24 +2570,28 @@
             
+  
+  
 if (/%5Ba-z0-9
@@ -2603,24 +2603,28 @@
 st(line)) %7B%0A
+    
             
@@ -2706,32 +2706,36 @@
                 
+ 
+   
 .replace(/(?:_(.
@@ -2783,16 +2783,20 @@
 alicize%0A
+    
         
@@ -2868,32 +2868,36 @@
                 
+    
 .replace(/~~(.+?
@@ -2947,32 +2947,36 @@
                 
+   
+ 
 .replace(/%5C%5B(.+?
@@ -3067,26 +3067,26 @@
         
-contentArr
+    result
 .push(li
@@ -3094,32 +3094,36 @@
 e);%0A            
+    
 %7D%0A        %7D);%0A  
@@ -3108,32 +3108,36 @@
       %7D%0A        
+ 
+   
 %7D);%0A        var 
@@ -3124,35 +3124,35 @@
     %7D);%0A        
-var
+   
  result = conten
@@ -3149,18 +3149,14 @@
 t = 
-contentArr
+result
 .joi
@@ -3187,24 +3187,28 @@
 aks%0A        
+ 
+   
 return new H
@@ -3237,24 +3237,34 @@
 esult);%0A
+        %7D%0A
     %7D);%0A
 %7D(this))
@@ -3255,16 +3255,17 @@
     %7D);%0A
+%0A
 %7D(this))

fix to last commit: did not add updated parseMD helper