Parcourir la source

Remove prism fix for html and js code blocks

simov il y a 10 ans
Parent
commit
20cadcb899
1 fichiers modifiés avec 0 ajouts et 4 suppressions
  1. 0 4
      js/background/markdown.js

+ 0 - 4
js/background/markdown.js

@@ -25,10 +25,6 @@ var md = (function () {
 
       marked(markdown, function (err, html) {
         if (err) throw err
-        // prism fix
-        html = html.replace(/language-html/g, 'language-markup')
-        html = html.replace(/language-js/g, 'language-javascript')
-
         sendResponse({message: 'marked', marked: html})
       })
     })