Skip to content

Commit

Permalink
Remove pipe from replaced characters in callouts (#213)
Browse files Browse the repository at this point in the history
  • Loading branch information
nvitucci authored and recrwplay committed Mar 6, 2024
1 parent b58e39f commit 7685fcd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/js/06-code.js
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ import { createElement } from './modules/dom'
})()

var cleanCallouts = function (code) {
return code.replace(/[ |\t]+\n/g, '\n').trimEnd()
return code.replace(/[ \t]+\n/g, '\n').trimEnd()
}

document.addEventListener('DOMContentLoaded', function () {
Expand Down

0 comments on commit 7685fcd

Please sign in to comment.