I had to look at this pretty carefully to make sense of that answer.
More accurately, the
entire title attribute value needs to be quoted,
including the EL code. Use single-quotes to delimit the
string result.
This is one reason why I recommend not doing anything complicated in EL on a web page. A much safer/cleaner way would have been to eliminate the conditional EL and literal string and do something like this:
Where the property value for divTitle in backing bean "itemStatusV80obj" would be set to the desired title (or an empty string). The name "itemStatusV80obj", incidentally, is all sorts of ugly, since "obj" is basically redundant and a version number is questionable. Usually "itemStatus" would be enough.
Note that if you want to, you can use an alternate backing bean to hold the "divTitle" property if it would be inappropriate to put it in the itemStatus object.