From 4ca09fb925e99f9ef0c94d77fcfdf7e21e04bb9d Mon Sep 17 00:00:00 2001 From: Angelos Chalaris Date: Thu, 21 Dec 2017 16:28:01 +0200 Subject: [PATCH] Fixed footer padding in web builder --- docs/index.html | 2 +- scripts/web-script.js | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/index.html b/docs/index.html index cda5bb3d4..0423fcd3e 100644 --- a/docs/index.html +++ b/docs/index.html @@ -186,7 +186,7 @@ validateEmail validateNumber -
 

Array

+
 

Array

arrayGcd

Calculates the greatest common denominator (gcd) of an array of numbers.

Use Array.reduce() and the gcd formula (uses recursion) to calculate the greatest common denominator of an array of numbers.

diff --git a/scripts/web-script.js b/scripts/web-script.js index d51a39d28..334a5de6c 100644 --- a/scripts/web-script.js +++ b/scripts/web-script.js @@ -76,7 +76,7 @@ try { output += md.render(`[${taggedSnippet[0]}](#${taggedSnippet[0].toLowerCase()})\n`).replace(/

/g,'').replace(/<\/p>/g,'').replace(/

`; + output += `
`; output += ` `; // Loop over tags and snippets to create the list of snippets for(let tag of [...new Set(Object.entries(tagDbData).map(t => t[1]))].filter(v => v).sort((a,b) => a.localeCompare(b))){