Closes open meta and link tags