we shouldn't be quoting sound tags
This commit is contained in:
parent
444f99b7ba
commit
78155afb09
@ -866,8 +866,8 @@ to a cloze type first, via Edit>Change Note Type."""))
|
||||
pass
|
||||
# return a local html link
|
||||
ext = name.split(".")[-1].lower()
|
||||
name = urllib.quote(name.encode("utf8"))
|
||||
if ext in pics:
|
||||
name = urllib.quote(name.encode("utf8"))
|
||||
return '<img src="%s">' % name
|
||||
else:
|
||||
anki.sound.play(name)
|
||||
|
Loading…
Reference in New Issue
Block a user