Shorten #name to 50 characters if it's coming from #content