Fix invalid character atob error in FF 24.5.0
This commit is contained in:
@@ -60,7 +60,7 @@
|
|||||||
<script>
|
<script>
|
||||||
<!-- Get README.md from Github API using JSONP. Turn the markdown into HTML. -->
|
<!-- Get README.md from Github API using JSONP. Turn the markdown into HTML. -->
|
||||||
function content(response) {
|
function content(response) {
|
||||||
var data = atob(response.data.content);
|
var data = atob(response.data.content.replace(/\s/g, ''));
|
||||||
preview.innerHTML = markdown.toHTML(data);
|
preview.innerHTML = markdown.toHTML(data);
|
||||||
return data;
|
return data;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user