Fix an error occurs when close block tag which does not have open tag in block tag. bugid:112398

Check by CI process.