Which version of PlantUML are you using ?
The following example is working on the online server:
if (foo) then (ok3)
elseif (foo2) then (ok2)
But maybe we did catch the real bug. Please provide a simple non-working example if this is the case.