From af599c12b55678276bcda842b705633b0a9d8a2d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?John=20Ankarstr=C3=B6m?= Date: Tue, 1 Dec 2020 01:48:02 +0100 Subject: mht: Fix arities of inline elements --- mht | 32 +++++++++++++++++++++++--------- 1 file changed, 23 insertions(+), 9 deletions(-) diff --git a/mht b/mht index f6fb269..2a93b26 100755 --- a/mht +++ b/mht @@ -36,17 +36,31 @@ my %blels = ( # 1.2.3 Inline elements my %inels = ( Au_1 => '', - Bd_0 => '\\$3\\$1\\$2', + Bd_1 => '\\$1', + Bd_2 => '\\$1\\$2', + Bd_3 => '\\$3\\$1\\$2', br_0 => '
', - Cd_0 => '\\$3\\$1\\$2', + Cd_1 => '\\$1', + Cd_2 => '\\$1\\$2', + Cd_3 => '\\$3\\$1\\$2', Cs_1 => '', - Em_0 => '\\$3\\$1\\$2', - Hy_0 => '\\$1', - Im_0 => '\\$2', - It_0 => '\\$3\\$1\\$2', - St_0 => '\\$3\\$1\\$2', - Tt_0 => '\\$3\\$1\\$2', - Ul_0 => '\\$3\\$1\\$2', + Em_1 => '\\$1', + Em_2 => '\\$1\\$2', + Em_3 => '\\$3\\$1\\$2', + Hy_2 => '\\$1', + Im_2 => '\\$2', + It_1 => '\\$1', + It_2 => '\\$1\\$2', + It_3 => '\\$3\\$1\\$2', + St_1 => '\\$1', + St_2 => '\\$1\\$2', + St_3 => '\\$3\\$1\\$2', + Tt_1 => '\\$1', + Tt_2 => '\\$1\\$2', + Tt_3 => '\\$3\\$1\\$2', + Ul_1 => '\\$1', + Ul_2 => '\\$1\\$2', + Ul_3 => '\\$3\\$1\\$2', ); -- cgit v1.2.3