diff options
author | John Ankarström <john@ankarstrom.se> | 2020-12-01 01:48:02 +0100 |
---|---|---|
committer | John Ankarström <john@ankarstrom.se> | 2020-12-01 01:48:02 +0100 |
commit | af599c12b55678276bcda842b705633b0a9d8a2d (patch) | |
tree | 42086d63be03c56aeb251fa3bc261a3fe936c365 | |
parent | a9a3adfca641af3eeb4482dac2ba3bae9f2b4921 (diff) | |
download | mht-af599c12b55678276bcda842b705633b0a9d8a2d.tar.gz |
mht: Fix arities of inline elements
-rwxr-xr-x | mht | 32 |
1 files changed, 23 insertions, 9 deletions
@@ -36,17 +36,31 @@ my %blels = ( # 1.2.3 Inline elements my %inels = ( Au_1 => '<meta name="author" content="\\$1"/>', - Bd_0 => '\\$3<b>\\$1</b>\\$2', + Bd_1 => '<b>\\$1</b>', + Bd_2 => '<b>\\$1</b>\\$2', + Bd_3 => '\\$3<b>\\$1</b>\\$2', br_0 => '<br/>', - Cd_0 => '\\$3<code>\\$1</code>\\$2', + Cd_1 => '<code>\\$1</code>', + Cd_2 => '<code>\\$1</code>\\$2', + Cd_3 => '\\$3<code>\\$1</code>\\$2', Cs_1 => '<meta http-equiv="Content-Type" content="text/html; charset=\\$1"/>', - Em_0 => '\\$3<em>\\$1</em>\\$2', - Hy_0 => '<a href="\\$2">\\$1</a>', - Im_0 => '<img src="\\$1" alt="\\$2"/>', - It_0 => '\\$3<i>\\$1</i>\\$2', - St_0 => '\\$3<strong>\\$1</strong>\\$2', - Tt_0 => '\\$3<tt>\\$1</tt>\\$2', - Ul_0 => '\\$3<u>\\$1</u>\\$2', + Em_1 => '<em>\\$1</em>', + Em_2 => '<em>\\$1</em>\\$2', + Em_3 => '\\$3<em>\\$1</em>\\$2', + Hy_2 => '<a href="\\$2">\\$1</a>', + Im_2 => '<img src="\\$1" alt="\\$2"/>', + It_1 => '<i>\\$1</i>', + It_2 => '<i>\\$1</i>\\$2', + It_3 => '\\$3<i>\\$1</i>\\$2', + St_1 => '<strong>\\$1</strong>', + St_2 => '<strong>\\$1</strong>\\$2', + St_3 => '\\$3<strong>\\$1</strong>\\$2', + Tt_1 => '<tt>\\$1</tt>', + Tt_2 => '<tt>\\$1</tt>\\$2', + Tt_3 => '\\$3<tt>\\$1</tt>\\$2', + Ul_1 => '<u>\\$1</u>', + Ul_2 => '<u>\\$1</u>\\$2', + Ul_3 => '\\$3<u>\\$1</u>\\$2', ); |