[tools 1/2] patches: <span> must have an end tag.

Francois Gouget fgouget at codeweavers.com
Fri Jun 17 09:58:50 CDT 2022


Signed-off-by: Francois Gouget <fgouget at codeweavers.com>
---
<span/> is not allowed, at least according to the Mozilla documentation:
| Tag omission:	None, both the starting and ending tag are mandatory.
---
 patches/update | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/patches/update b/patches/update
index 494d2e1575..f3eac9eeac 100755
--- a/patches/update
+++ b/patches/update
@@ -344,8 +344,8 @@ foreach my $file (sort { $patches{$b}->{"order"} <=> $patches{$a}->{"order"} } k
     foreach my $child (@{$patch->{"children"}})
     {
         printf INDEX "<tr class=\"%s\ $file.reply\" id=\"%s\" style=\"display: none;\" onclick=\"toggle_display('$file.reply')\">" .
-                     "<td colspan=\"2\" /><td colspan=\"2\" class=\"reply author\"><span class=\"indent\" />%s</td> " .
-                     "<td class=\"reply author\"><span class=\"indent\" /><a href=\"data/%s\">%s</a></td> " .
+                     "<td colspan=\"2\" /><td colspan=\"2\" class=\"reply author\"><span class=\"indent\">%s</span></td> " .
+                     "<td class=\"reply author\"><span class=\"indent\"><a href=\"data/%s\">%s</a></span></td> " .
                      "<td colspan=\"4\" /></tr>\n",
             $row & 1 ? "odd" : "even", $child->{"id"}, escapeHTML($child->{"author"}), $child->{"id"}, escapeHTML($child->{"subject"});
     }
-- 
2.30.2




More information about the wine-devel mailing list