From c06b59644b619b8dd532dc5cbe839ffaee2c4d4b Mon Sep 17 00:00:00 2001 From: "Kyle J. McKay" Date: Sun, 14 Feb 2021 07:53:49 -0700 Subject: [PATCH] Markdown.pl: add bdo to taga1p The "bdo" (Bi-Directional Override) container element always requires at least one attribute to be present for it to be valid. Specifically, in this case, the "dir" attribute. Add "bdo" to the `%taga1p` (TAGs requiring Attributes count of 1 Plus) hash to reflect this. A bare "" will now be passed through to the output as "<bdo>" when using the default options. Signed-off-by: Kyle J. McKay --- Markdown.pl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Markdown.pl b/Markdown.pl index 45bef2a..f8c59e6 100755 --- a/Markdown.pl +++ b/Markdown.pl @@ -3118,7 +3118,7 @@ BEGIN { compact coords height hspace ismap nohref noshade nowrap rowspan size span shape valign vspace width )); - %taga1p = map({$_ => 1} qw(a area img map)); + %taga1p = map({$_ => 1} qw(a area bdo img map)); }