param($match)
$href = $match.Groups[2].Value
$rest = $match.Groups[3].Value
$text = $match.Groups[4].Value
# Si está dentro de un dropdown-menu y no tiene nav-link, agregar dropdown-item
if ($rest -match 'dropdown-menu' -and $rest -notmatch 'nav-link') {
return "
$text"
}
return $match.Value