1
0
mirror of https://github.com/hakimel/reveal.js.git synced 2025-08-23 23:03:12 +02:00

Merge pull request #3602 from yarikoptic/enh-codespell

codespell: add config + workflow and make it fix some typos it finds
This commit is contained in:
Hakim El Hattab
2025-03-19 10:11:48 +01:00
committed by GitHub
7 changed files with 36 additions and 5 deletions

View File

@@ -52,7 +52,7 @@ const Plugin = {
block.innerHTML = betterTrim( block );
}
// Escape HTML tags unless the "data-noescape" attrbute is present
// Escape HTML tags unless the "data-noescape" attribute is present
if( config.escapeHTML && !block.hasAttribute( 'data-noescape' )) {
block.innerHTML = block.innerHTML.replace( /</g,"&lt;").replace(/>/g, '&gt;' );
}