1
0
mirror of https://github.com/hakimel/reveal.js.git synced 2025-08-22 06:13:41 +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;' );
}

View File

@@ -229,7 +229,7 @@ const Plugin = () => {
openSpeakerWindow();
}
else {
// Keep listening for speaker view hearbeats. If we receive a
// Keep listening for speaker view heartbeats. If we receive a
// heartbeat from an orphaned window, reconnect it. This ensures
// that we remain connected to the notes even if the presentation
// is reloaded.

View File

@@ -147,7 +147,7 @@ var zoom = (function(){
}
/**
* Pan the document when the mosue cursor approaches the edges
* Pan the document when the mouse cursor approaches the edges
* of the window.
*/
function pan() {