mirror of
https://github.com/ankitects/anki.git
synced 2025-11-06 12:47:11 -05:00
fix string conversion
This commit is contained in:
parent
c74a59f451
commit
e4a213f707
1 changed files with 1 additions and 1 deletions
|
|
@ -58,7 +58,7 @@ trait DiffTrait {
|
|||
if self.get_typed() == self.get_expected() {
|
||||
format_typeans!(format!(
|
||||
"<span class=typeGood>{}</span>",
|
||||
htmlescape::encode_minimal(self.get_expected_original().into())
|
||||
htmlescape::encode_minimal(&self.get_expected_original())
|
||||
))
|
||||
} else {
|
||||
let output = self.to_tokens();
|
||||
|
|
|
|||
Loading…
Reference in a new issue