Fixed typo which prevented the (hash) type from being shown

This commit is contained in:
Suzanne Soy 2021-06-23 18:01:21 +01:00
parent 9af548caa6
commit edda9a4808

View File

@ -286,7 +286,7 @@ function ___specialchars_and_colour_and_hex(s) {
+ s.substr(0,40) + s.substr(0,40)
+ '</span>' + '</span>'
+ ___specialchars_and_colour(s.substr(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)) { } else if (/^ref: refs\/[^\n]*\n$/.test(s)) {
var id = ___global_unique_id++; var id = ___global_unique_id++;
var h = s.substr(5, s.length-6) var h = s.substr(5, s.length-6)