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