- {% if book.has_mp3_file %}<span class="active">MP3</span>{% endif %}
- {% if book.has_ogg_file %}<span>OGG</span>{% endif %}
- {% if book.has_daisy_file %}<span>DAISY</span>{% endif %}
+ {% if book.has_mp3_file %}<span class="active" data-format="mp3">MP3</span>{% endif %}
+ {% if book.has_ogg_file %}<span data-format="ogg">Ogg Vorbis</span>{% endif %}
+ {% if book.has_daisy_file %}<span data-format="daisy">DAISY</span>{% endif %}