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
|
pass
|
||||||
# return a local html link
|
# return a local html link
|
||||||
ext = name.split(".")[-1].lower()
|
ext = name.split(".")[-1].lower()
|
||||||
name = urllib.quote(name.encode("utf8"))
|
|
||||||
if ext in pics:
|
if ext in pics:
|
||||||
|
name = urllib.quote(name.encode("utf8"))
|
||||||
return '<img src="%s">' % name
|
return '<img src="%s">' % name
|
||||||
else:
|
else:
|
||||||
anki.sound.play(name)
|
anki.sound.play(name)
|
||||||
|
Loading…
Reference in New Issue
Block a user