rsimmons/voracious

Chinese subtitles make player page crash

rsimmons opened this issue · 1 comments

Andrew Cheung reported this to me by email. The subtitle language is correctly auto-determined as cmn (3-letter code), but the player page tries to convert this to a 2-letter code for the HTML lang attribute and fails because there is no conversion. It should just skip setting the attribute if the conversion fails.