Revert "fix search for base-url since it is usually a self-closing tag"

This reverts commit aa6441b4804a92739059f867c0a000ea6d90d2bb.