From d1abde7d1af1bb4cb2423286a54313220c0d8f31 Mon Sep 17 00:00:00 2001 From: John-David Dalton Date: Mon, 5 Sep 2016 02:07:51 -0700 Subject: [PATCH] Remove broken HTML escaping. --- lib/main/build-site.js | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/lib/main/build-site.js b/lib/main/build-site.js index 803b30ca8..b6a1f9276 100644 --- a/lib/main/build-site.js +++ b/lib/main/build-site.js @@ -159,9 +159,7 @@ function build() { // Load markdown. .readFileSync(readmePath, 'utf8') // Uncomment docdown HTML hints. - .replace(/(<)!--\s*|\s*--(>)/g, '$1$2') - // Escape HTML markup in usage examples. - .replace(/```js[\s\S]+?```/g, m => m.replace(//g, '>')); + .replace(/(<)!--\s*|\s*--(>)/g, '$1$2'); const $ = marky(markdown, { 'sanitize': false }); const $header = $('h1').first().remove();