From 9572479498f96dba2062e197ec76ca58578fc560 Mon Sep 17 00:00:00 2001 From: Vadim Makeev Date: Wed, 25 Sep 2024 12:13:21 +0200 Subject: [PATCH] Add a scrolling container around block math elements --- build/wrap-tables.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/build/wrap-tables.ts b/build/wrap-tables.ts index 99cf6356ae00..e161d5853357 100644 --- a/build/wrap-tables.ts +++ b/build/wrap-tables.ts @@ -5,5 +5,5 @@ import * as cheerio from "cheerio"; export function wrapTables($: cheerio.CheerioAPI) { const figure = $('
'); - $("table").wrap(figure); + $("table, math[display=block]").wrap(figure); }