minor typo fix :-P

This commit is contained in:
Gamosoft 2026-07-10 12:34:46 +02:00
parent b6b3a3de7f
commit 5d5b7ad0fe
2 changed files with 2 additions and 2 deletions

View File

@ -813,7 +813,7 @@ def generate_export_html(
// nested in a callout blockquote lose their `> ` prefix on the closer // nested in a callout blockquote lose their `> ` prefix on the closer
// otherwise the restored block sits inside <div class="callout-body"> // otherwise the restored block sits inside <div class="callout-body">
// without a valid CommonMark fence closer and runs unclosed. // without a valid CommonMark fence closer and runs unclosed.
// Fence-aware so literal `> [!TIPO]` inside a top-level code block // Fence-aware so literal `> [!TIP]` inside a top-level code block
// is not misread. Mirrors the in-app preview preprocessor. // is not misread. Mirrors the in-app preview preprocessor.
let processed; let processed;
{{ {{

View File

@ -5839,7 +5839,7 @@ function noteApp() {
// fences nested in a callout blockquote lose their `> ` prefix on // fences nested in a callout blockquote lose their `> ` prefix on
// the closer — otherwise CommonMark won't see a valid fence closer // the closer — otherwise CommonMark won't see a valid fence closer
// once restored inside <div class="callout-body"> and the block // once restored inside <div class="callout-body"> and the block
// runs unclosed. Fence-aware so `> [!TIPO]` literal inside a // runs unclosed. Fence-aware so `> [!TIP]` literal inside a
// top-level code block is not misread as a callout. // top-level code block is not misread as a callout.
{ {
const CALLOUT_RE = /^>\s*\[!(NOTE|TIP|IMPORTANT|WARNING|CAUTION)\]\s*(.*)$/i; const CALLOUT_RE = /^>\s*\[!(NOTE|TIP|IMPORTANT|WARNING|CAUTION)\]\s*(.*)$/i;