public function bootstrapButtonLinkFilter($button, $href = self::DEFAULT_HREF, $target = null) {

        if (1 === preg_match("/disabled=\"disabled\"/", $button)) {

            $searches = [" disabled=\"disabled\"", "class=\""];
            $replaces = ["", "class=\"disabled "];

            $button = StringHelper::replace($button, $searches, $replaces);
        }

        $searches = ["<button", "type=\"button\"", "</button>"];
        $replaces = ["<a", "href=\"" . $href . "\"" . (null !== $target ? " target=\"" . $target . "\"" : ""), "</a>"];

        return StringHelper::replace($button, $searches, $replaces);
    }