Moving clean_ref to template_string, applying to content breaks template filtering in some cases (see http://it.wikipedia.org/wiki/Falchi_Ugento)