Skip to content

Commit

Permalink
don't ever use figure tags for cell handlers
Browse files Browse the repository at this point in the history
  • Loading branch information
cscheid committed May 3, 2022
1 parent d92f227 commit 0fe969b
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions src/core/handlers/base.ts
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,6 @@ import {
join as mappedJoin,
mappedConcat,
mappedLines,
mappedReplace,
MappedString,
} from "../lib/mapped-text.ts";
import {
Expand All @@ -35,7 +34,6 @@ import { ConcreteSchema } from "../lib/yaml-schema/types.ts";
import {
pandocBlock,
pandocFigCaption,
pandocFigure,
pandocHtmlBlock,
pandocRawStr,
} from "../pandoc/codegen.ts";
Expand Down Expand Up @@ -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({
Expand Down

0 comments on commit 0fe969b

Please sign in to comment.