Bug 493439 - There is no '*' in checksums displayed on select a mirror
page

Trying the second approach where we replace spaces with &npsb;.
diff --git a/assets/public/javascript/mirror.min.js b/assets/public/javascript/mirror.min.js
index 59040c0..a5ecdab 100644
--- a/assets/public/javascript/mirror.min.js
+++ b/assets/public/javascript/mirror.min.js
@@ -1 +1 @@
-!function(jQuery,window,document){jQuery(document).ready(function($){$(".btn-ajax-checksum").click(function(){var location=$(this).attr("href"),file=$(this).data("checksum-file"),type=$(this).data("checksum-type");return-1===$.inArray(type,["md5","sha512","sha1"])||void 0===file?!1:void $.ajax({url:"sums.php",data:{file:file,type:type},dataType:"text",type:"GET",beforeSend:function(){$(location+" p").html('<i class="fa fa-spinner fa-spin"></i>')},success:function(response){$(location+" p").text(response)},error:function(){$(location+" p").text("An error has occurred.")}})}),$(".mirror-continent").slice(1).hide(),$("#show_all_mirrors").click(function(e){return e.preventDefault(),$(".mirror-section-2").is(":visible")?($(".mirror-continent").slice(1).hide(),$("html, body").animate({scrollTop:$(".mirror-section-1").offset().top},500),$(this).text("Show all")):($(".mirror-continent").show(),$("html, body").animate({scrollTop:$(".mirror-section-2").offset().top},500,"swing",function(){$("#show_all_mirrors").text("Hide")})),FALSE})})}(jQuery,window,document);
\ No newline at end of file
+!function(jQuery,window,document){jQuery(document).ready(function($){$(".btn-ajax-checksum").click(function(){var location=$(this).attr("href"),file=$(this).data("checksum-file"),type=$(this).data("checksum-type");return-1===$.inArray(type,["md5","sha512","sha1"])||void 0===file?!1:void $.ajax({url:"sums.php",data:{file:file,type:type},dataType:"text",type:"GET",beforeSend:function(){$(location+" p").html('<i class="fa fa-spinner fa-spin"></i>')},success:function(response){$(location+" p").html(response.replace(/\s/g,"&nbsp;"))},error:function(){$(location+" p").text("An error has occurred.")}})}),$(".mirror-continent").slice(1).hide(),$("#show_all_mirrors").click(function(e){return e.preventDefault(),$(".mirror-section-2").is(":visible")?($(".mirror-continent").slice(1).hide(),$("html, body").animate({scrollTop:$(".mirror-section-1").offset().top},500),$(this).text("Show all")):($(".mirror-continent").show(),$("html, body").animate({scrollTop:$(".mirror-section-2").offset().top},500,"swing",function(){$("#show_all_mirrors").text("Hide")})),FALSE})})}(jQuery,window,document);
\ No newline at end of file
diff --git a/assets/src/javascript/mirror.js b/assets/src/javascript/mirror.js
index 52c644f..92cca44 100644
--- a/assets/src/javascript/mirror.js
+++ b/assets/src/javascript/mirror.js
@@ -28,7 +28,7 @@
           $(location + ' p').html('<i class="fa fa-spinner fa-spin"></i>');
         },
         success: function(response){ 
-          $(location + ' p').text(response);
+          $(location + ' p').html(response.replace(/\s/g, '&nbsp;'));
         },
         error: function(){
           $(location + ' p').text('An error has occurred.');