mirror of
https://port.numenaute.org/aleajactaest/khanat-code-old.git
synced 2024-11-11 17:59:02 +00:00
Fixed: Crash when suri is empty
This commit is contained in:
parent
ac28c79fe3
commit
1b286985d3
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