fix invalid chars in post links