From 0fe969b5219d021a5d544e11ed70e0c0e875189d Mon Sep 17 00:00:00 2001 From: Carlos Scheidegger Date: Tue, 3 May 2022 11:03:33 -0700 Subject: [PATCH] don't ever use figure tags for cell handlers --- src/core/handlers/base.ts | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/src/core/handlers/base.ts b/src/core/handlers/base.ts index 122757698d..c6bdd34889 100644 --- a/src/core/handlers/base.ts +++ b/src/core/handlers/base.ts @@ -24,7 +24,6 @@ import { join as mappedJoin, mappedConcat, mappedLines, - mappedReplace, MappedString, } from "../lib/mapped-text.ts"; import { @@ -35,7 +34,6 @@ import { ConcreteSchema } from "../lib/yaml-schema/types.ts"; import { pandocBlock, pandocFigCaption, - pandocFigure, pandocHtmlBlock, pandocRawStr, } from "../pandoc/codegen.ts"; @@ -383,7 +381,7 @@ export const baseHandler: LanguageHandler = { const { classes, attrs } = getDivAttributes(cell); - const q3 = hasFigureLabel() ? pandocBlock(":::") : pandocFigure; + const q3 = pandocBlock(":::"); const t3 = pandocBlock("```"); const t4 = pandocBlock("````"); const cellBlock = q3({