Detect link in posts better

Credit goes to Josef Kokeš