* No need to check standalone if no tag

This commit is contained in:
Michaël Van Canneyt 2023-04-17 11:05:43 +02:00
parent 322e8ca7e3
commit 3a4b494bf1

View File

@ -1147,7 +1147,7 @@ begin
begin
PartialPrefix := '';
NewPos:=Pos(cStart,aTemplate,Current);
IsStandalone := CheckStandalone;
IsStandalone := (NewPos>0) and CheckStandalone;
if NewPos=0 then
NewPos:=Total+1;
// Stash what we have till now.