Fix: set default opening and closing tags if an empty string is given