Build your personal knowledge base with Trilium Notes
TypeScript electronelectron-appknowledge-baseknowledge-graphknowledge-managementknowledge-management-graphlocal-firstnote-managmentnote-takernote-takingnotebooknotesnotes-apppersonal-knowledge-basepersonal-wikiscriptableself-hostedself-hostingwiki
fix(options): double newlines in code tooltip
Elian Doran9c301a0c72d0
diff --git a/apps/client/src/widgets/type_widgets/options/code_mime_types_list.tsx b/apps/client/src/widgets/type_widgets/options/code_mime_types_list.tsxindex 828800400f..b1984cb596 100644--- a/apps/client/src/widgets/type_widgets/options/code_mime_types_list.tsx+++ b/apps/client/src/widgets/type_widgets/options/code_mime_types_list.tsx@@ -35,8 +35,8 @@ export function CodeMimeTypesList() {const hasCodeNoteSyntax = !!codeNoteMimeTypes[mime];return `- <strong>${t("code_mime_types.tooltip_syntax_highlighting")}</strong><br/>- ${hasCodeBlockSyntax ? "✅" : "❌"} ${t("code_mime_types.tooltip_code_block_syntax")}<br/>+ <strong>${t("code_mime_types.tooltip_syntax_highlighting")}</strong>+ ${hasCodeBlockSyntax ? "✅" : "❌"} ${t("code_mime_types.tooltip_code_block_syntax")}${hasCodeNoteSyntax ? "✅" : "❌"} ${t("code_mime_types.tooltip_code_note_syntax")}`;},