Skip to contentSkip to conversation

Correct html syntax error color=="#xxxxxx" => color="#xxxxxx"

PATCH In review Ian Campbell 2 participants 2 messages Sep 21, 2015

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 Correct html syntax error color=="#xxxxxx" => color="#xxxxxx"

Strangely the effect of this (with iceweasel) was that everything was cyan (#00fff0?) instead of the intended black or white.

---
 ms-planner | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
ms-planner +1 -1
index 1f996a6..cab32c9 100755
@@ -727,7 +727,7 @@ sub cmd_show_html () {
                 my $fgcolour=
                     $avail ? "#000000" : "#ffffff";
 		printf "<td valign=top rowspan=%d".
-                    " bgcolor=\"%s\"><font color==\"%s\">%s %s</font></td>",
+                    " bgcolor=\"%s\"><font color=\"%s\">%s %s</font></td>",
 		    $content->{Rowspan}, $bgcolour, $fgcolour, $show;
 		$content->{Printed}= 1;
 	    }
Signature · 1 line
2.5.1
Acked-by on v1 1/1
#1 lore raw

Ian Campbell writes ("[PATCH OSSTEST] Correct html syntax error color=="#xxxxxx" => color="#xxxxxx""):

Quoted 2 lines

Strangely the effect of this (with iceweasel) was that everything was cyan (#00fff0?) instead of the intended black or white.

This will make some of the output black when previously it was cyan, of course. I don't particularly mind.

Ian.