note that `if (...) { if (...) { })` with only a single action inside the innermost if is really just a compound if statement:
```
if (isActiveContent(tagName, nameTok.value) && valueTok.value.match(/http:/)) {
  ...
}
```