diff options
Diffstat (limited to 'upd8.js')
-rw-r--r-- | upd8.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/upd8.js b/upd8.js index 2404a22c..5c76db2f 100644 --- a/upd8.js +++ b/upd8.js @@ -284,7 +284,7 @@ function transformInline(text) { const flash = getLinkedFlash(ref); if (flash) { let name = flash.name; - const nextCharacter = text[offset + 1]; + const nextCharacter = text[offset + match.length]; const lastCharacter = name[name.length - 1]; if ( ![' ', '\n', '<'].includes(nextCharacter) && |