mirror of
https://github.com/zadam/trilium.git
synced 2025-11-16 10:15:52 +01:00
fix: fix server build not running due to missing file
as discussed in #1010 – quick & dirty fix by copying over the file into the server side of things Comment added to both files, about deduplication in the future fixes #1010
This commit is contained in:
@@ -14,7 +14,7 @@ renderer.code = ({text, lang, escaped}: Tokens.Code) => {
|
||||
|
||||
import htmlSanitizer from "../html_sanitizer.js";
|
||||
import importUtils from "./utils.js";
|
||||
import { getMimeTypeFromHighlightJs, MIME_TYPE_AUTO, normalizeMimeTypeForCKEditor } from "../../public/app/services/mime_type_definitions.js";
|
||||
import { getMimeTypeFromHighlightJs, MIME_TYPE_AUTO, normalizeMimeTypeForCKEditor } from "./mime_type_definitions.js";
|
||||
|
||||
function renderToHtml(content: string, title: string) {
|
||||
const html = parse(content, {
|
||||
|
||||
Reference in New Issue
Block a user