chiark / gitweb /
Fix another HTML syntax error
authorIan Jackson <ijackson@chiark.greenend.org.uk>
Sun, 17 Apr 2022 23:06:15 +0000 (00:06 +0100)
committerIan Jackson <ijackson@chiark.greenend.org.uk>
Sun, 17 Apr 2022 23:07:46 +0000 (00:07 +0100)
commit1d4bb70f18f24479b009d491099cccf24ada7931
tree8a2fcce6ec0f4b8976fdf0e425708be1dee1e7f6
parent1d81a5459540c82393a786ee72ccf037fecd5b07
Fix another HTML syntax error

Define the type of `otherwise`, to be an Html variant.  And pass
HtmlStr values.  Otherwise the HTML gets re-escaped, leading to a
xyntax error.

An effect of this is that the hollow diamond is actually hollow now.

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