diff options
author | siikamiika <siikamiika@users.noreply.github.com> | 2019-08-14 22:54:42 +0300 |
---|---|---|
committer | siikamiika <siikamiika@users.noreply.github.com> | 2019-08-14 22:54:42 +0300 |
commit | 658e5ddff13f4ec392dc110004635e22d468525a (patch) | |
tree | 731d79146922885e951fbec57a05d6393bcf13f1 /ext/fg/js/document.js | |
parent | e23d4b9a82581f3cf1118e31d077fc9cdaff7573 (diff) |
ignore zero-width non-joiner
fixes #179
Diffstat (limited to 'ext/fg/js/document.js')
-rw-r--r-- | ext/fg/js/document.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/fg/js/document.js b/ext/fg/js/document.js index f58a64fc..0697edb3 100644 --- a/ext/fg/js/document.js +++ b/ext/fg/js/document.js @@ -116,7 +116,7 @@ function docSentenceExtract(source, extent) { const sourceLocal = source.clone(); const position = sourceLocal.setStartOffset(extent); sourceLocal.setEndOffset(position + extent); - const content = sourceLocal.text(); + const {text: content} = sourceLocal.text(); let quoteStack = []; |