rm one log
This commit is contained in:
@@ -15,10 +15,6 @@ export function addLinkCardIfNecessary({
|
|||||||
prevAddedLinks: Set<string>
|
prevAddedLinks: Set<string>
|
||||||
byteEnd: number
|
byteEnd: number
|
||||||
}) {
|
}) {
|
||||||
console.log({
|
|
||||||
byteIndex: byteEnd,
|
|
||||||
})
|
|
||||||
|
|
||||||
const utf16Index = utf8IndexToUtf16Index(newText, byteEnd)
|
const utf16Index = utf8IndexToUtf16Index(newText, byteEnd)
|
||||||
// Because we always trim the whitespace at the end of the text
|
// Because we always trim the whitespace at the end of the text
|
||||||
newText = newText + ' '
|
newText = newText + ' '
|
||||||
|
|||||||
Reference in New Issue
Block a user