Replaced '../api/?task=view-formula&id={{ formula_id }}' by '../formulas/{{ formula_id }}-{{ best_rendering }}.svg'