diff --git a/CHANGELOG.md b/CHANGELOG.md index 8bb9a7c..da04033 100755 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,9 @@ # Changelog +## Unreleased + +* Fix text processing pipeline (#70) + ## 1.1.0 (2020-08-24) * Add "Unlock Window" option to context menu - SammyJames diff --git a/Glass/Modules/TextProcessing.lua b/Glass/Modules/TextProcessing.lua index ae2e101..cd1f7d0 100755 --- a/Glass/Modules/TextProcessing.lua +++ b/Glass/Modules/TextProcessing.lua @@ -85,7 +85,8 @@ function TP:ProcessText(text) for _, processor in ipairs(TEXT_PROCESSORS) do -- Prevent failing processors from bringing down the whole pipeline - local retOk, retVal = pcall(processor, text) + local retOk, retVal = pcall(processor, result) + if retOk then result = retVal end