chiark / gitweb /
Fix an HTML syntax error
authorIan Jackson <ijackson@chiark.greenend.org.uk>
Sun, 17 Apr 2022 23:05:35 +0000 (00:05 +0100)
committerIan Jackson <ijackson@chiark.greenend.org.uk>
Sun, 17 Apr 2022 23:07:46 +0000 (00:07 +0100)
Nothing seemed to be reporting this.  I found it while looking for
another bug, which I'm about to fix now.

Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
src/pieces.rs

index 0d88c2df6231d456d684781ef436b70dd45ac621..e7123e990fd516051bfc1ffca635d22beade1f20 100644 (file)
@@ -284,8 +284,7 @@ impl<Desc, Outl:'static> GenericSimpleShape<Desc, Outl>
 
     if self.colours.len() == 0 {
       hwrite!(f,
-             r##"<path fill="none" \
-                  stroke-width="{}" stroke="transparent" d="{}"/>"##,
+ r##"<path fill="none" stroke-width="{}" stroke="transparent" d="{}"/>"##,
              INVISIBLE_EDGE_SENSITIVE,
              &path)?;
     }