In public templates class="..." attribute is not working for <xf:radiorow tag.
For example this code:
<xf:radiorow class="js-mathTypeSwitcher" name="math-type">
<xf:option value="inline">{{ phrase('Math_inline') }}</xf:option>
<xf:option value="block">{{ phrase('Math_block')...