broken labels that begin with a slash

when there is a special char in we still need to call addslashes for the value and also need to quote the value else the output is still broken and can't be read be dot (tested with 2.34 and 2.36)