diff --git a/index.html b/index.html index 5f90ae39..877455fa 100644 --- a/index.html +++ b/index.html @@ -37,6 +37,9 @@ + + + @@ -53,7 +56,7 @@ fetch( 'https://raw.githubusercontent.com/offa/android-foss/master/README.md' ) .then( response => response.text() ) .then( data => { - document.querySelector( 'main' ).innerHTML = marked.parse( data ); + document.querySelector( 'main' ).innerHTML = DOMPurify.sanitize( marked.parse( data ) ); }) .catch( error => console.error( 'Error:', error ) );