From edda9a4808c170ed9528e8a15c1211d08bf222d7 Mon Sep 17 00:00:00 2001 From: Suzanne Soy Date: Wed, 23 Jun 2021 18:01:21 +0100 Subject: [PATCH] Fixed typo which prevented the (hash) type from being shown --- git-tutorial.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/git-tutorial.js b/git-tutorial.js index 6eb4e0a..9b98246 100644 --- a/git-tutorial.js +++ b/git-tutorial.js @@ -286,7 +286,7 @@ function ___specialchars_and_colour_and_hex(s) { + s.substr(0,40) + '' + ___specialchars_and_colour(s.substr(40)); - return { type: 'hash', type: '', target_hashes: target_hashes, html: html }; + return { type: 'hash', target_hashes: target_hashes, html: html }; } else if (/^ref: refs\/[^\n]*\n$/.test(s)) { var id = ___global_unique_id++; var h = s.substr(5, s.length-6)