This commit is contained in:
Joe Mooring 2024-04-16 08:50:41 -07:00 committed by GitHub
parent 3dcf32e25b
commit ba66d6b903
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -24,7 +24,7 @@ Use `strings.Diff` to compare two strings and render a highlighted diff:
<p>The product of 7 and 6 is 13.</p>
`}}
{{ $diff := strings.Diff "want" $want "got" $got" }}
{{ $diff := strings.Diff "want" $want "got" $got }}
{{ transform.Highlight $diff "diff" }}
```