mirror of
https://port.numenaute.org/aleajactaest/khanat-code-old.git
synced 2024-11-23 07:16:15 +00:00
Fixed: Crash when suri is empty
This commit is contained in:
parent
7db67187ef
commit
178e47552c
1 changed files with 1 additions and 1 deletions
|
@ -580,7 +580,7 @@ void CGroupHTML::addLink (uint element_number, uint /* attribute_number */, HTCh
|
||||||
// in ah: command we don't respect the uri standard so the HTAnchor_address doesn't work correctly
|
// in ah: command we don't respect the uri standard so the HTAnchor_address doesn't work correctly
|
||||||
_Link.push_back (suri);
|
_Link.push_back (suri);
|
||||||
}
|
}
|
||||||
else if (_TrustedDomain && suri[0] == '#')
|
else if (_TrustedDomain && suri.find('#') == 0)
|
||||||
{
|
{
|
||||||
// Direct url (hack for lua beginElement)
|
// Direct url (hack for lua beginElement)
|
||||||
_Link.push_back (suri.substr(1));
|
_Link.push_back (suri.substr(1));
|
||||||
|
|
Loading…
Reference in a new issue