diff options
-rw-r--r-- | .config/mpv/scripts/copy-subs.lua | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/.config/mpv/scripts/copy-subs.lua b/.config/mpv/scripts/copy-subs.lua index 305299a..3b8d15f 100644 --- a/.config/mpv/scripts/copy-subs.lua +++ b/.config/mpv/scripts/copy-subs.lua @@ -6,6 +6,7 @@ function copy() -- remove some specific unicode characters sub = sub:gsub('\u{27a1}', '') sub = sub:gsub('\u{fffd}', '') + sub = sub:gsub('\u{3013}', '') sub = sub:gsub('\n', ' ') -- replace newlines with space sub = sub:gsub('\'', '\'\\\'\'') -- escape single quotes |