mirror of
https://github.com/Jermolene/TiddlyWiki5
synced 2024-11-23 18:17:20 +00:00
Twitter Archivist: Fix off by one error in af6c017086
This commit is contained in:
parent
af6c017086
commit
710e51fe04
@ -117,7 +117,7 @@ TwitterArchivist.prototype.loadArchive = async function(options) {
|
|||||||
});
|
});
|
||||||
// Apply the modifications in reverse order
|
// Apply the modifications in reverse order
|
||||||
var rawText = tweet.tweet.full_text,
|
var rawText = tweet.tweet.full_text,
|
||||||
posText = rawText.length - 1,
|
posText = rawText.length,
|
||||||
chunks = [];
|
chunks = [];
|
||||||
for(var modificationIndex=modifications.length-1; modificationIndex>=0; modificationIndex--) {
|
for(var modificationIndex=modifications.length-1; modificationIndex>=0; modificationIndex--) {
|
||||||
var modification = modifications[modificationIndex];
|
var modification = modifications[modificationIndex];
|
||||||
|
Loading…
Reference in New Issue
Block a user