|
|
@ -26,7 +26,7 @@ import { getQueryProcessor, QueryProcessor } from "./websites"; |
|
|
|
import { ifetch, Platform, sendCmd, lqueue, supportedAltDomain, supportedMainDomain, genPort, initMainIPC } from "./platform"; |
|
|
|
import TextEmbeddingsSvelte from "./Components/TextEmbeddings.svelte"; |
|
|
|
import { HydrusClient } from "./hydrus"; |
|
|
|
import { registerPlugin } from 'linkifyjs'; |
|
|
|
import { registerPlugin, createTokenClass } from 'linkifyjs'; |
|
|
|
import ViewCountSvelte from "./Components/ViewCount.svelte"; |
|
|
|
import type { ImageProcessor, WorkerEmbeddedFile } from './processor.worker'; |
|
|
|
|
|
|
@ -709,7 +709,7 @@ const startup = async (is4chanX = true) => { |
|
|
|
const START_STATE = parser.start; |
|
|
|
|
|
|
|
const pref = qp.getPostIdPrefix(); |
|
|
|
const endQuote = utils.createTokenClass('postQuote', { |
|
|
|
const endQuote = createTokenClass('postQuote', { |
|
|
|
isLink: true, |
|
|
|
toHref() { |
|
|
|
return `#${pref}${this.toString().substr(2)}`; |
|
|
|