Hi Kye,
I took a quick look at this.
In my Diem 5.1.3 installation external links aren't detected correctly,
too. I had to change the IF condition to get it work:
if($this->options['external_blank'] || 0 !== strncmp($this->uri,
$this->requestContext['absolute_url_root'],
strlen($this->requestContext['absolute_url_root'])))
I think the condition (line 31) for Diem Dev needs to be changed to:
if($this->options['external_blank'] || 0 !== strncmp($this->uri,
$this->requestContext['absolute_url_root'],
strlen($this->requestContext['absolute_url_root'])) || 0 !==
strncmp($this->uri, $this->requestContext['prefix'],
strlen($this->requestContext['prefix'])) )
I did not test it yet.
hth