hyperaudio / hyperaudio-lite-editor

A lightweight transcript editor for editing and correcting STT generated timed transcripts
GNU Affero General Public License v3.0
38 stars 13 forks source link

Sanitising of transcript is attempted when transcript not present #194

Open maboa opened 1 year ago

maboa commented 1 year ago
Uncaught TypeError: walker.currentNode.previousSibling is null
    sanitise https://hyperaudio.github.io/hyperaudio-lite-editor/index.html:513
    setTimeout handler*resetTimer https://hyperaudio.github.io/hyperaudio-lite-editor/index.html:621
    sanitisationCheck https://hyperaudio.github.io/hyperaudio-lite-editor/index.html:482
    hyperaudio https://hyperaudio.github.io/hyperaudio-lite-editor/index.html:650
    parseData https://hyperaudio.github.io/hyperaudio-lite-editor/js/hyperaudio-lite-editor-deepgram.js:478
    fetchDataLocal https://hyperaudio.github.io/hyperaudio-lite-editor/js/hyperaudio-lite-editor-deepgram.js:353
    promise callback*fetchDataLocal/</< https://hyperaudio.github.io/hyperaudio-lite-editor/js/hyperaudio-lite-editor-deepgram.js:348
    promise callback*fetchDataLocal/< https://hyperaudio.github.io/hyperaudio-lite-editor/js/hyperaudio-lite-editor-deepgram.js:324
    fetchDataLocal https://hyperaudio.github.io/hyperaudio-lite-editor/js/hyperaudio-lite-editor-deepgram.js:322
    getData https://hyperaudio.github.io/hyperaudio-lite-editor/js/hyperaudio-lite-editor-deepgram.js:162
    connectedCallback https://hyperaudio.github.io/hyperaudio-lite-editor/js/hyperaudio-lite-editor-deepgram.js:213
    LifecycleConnectedCallback* https://hyperaudio.github.io/hyperaudio-lite-editor/js/hyperaudio-lite-editor-deepgram.js:223
[index.html:513:17](https://hyperaudio.github.io/hyperaudio-lite-editor/index.html)