It may be for the sake of the test case, but if you're actually embedding markup in your models it's probably something you should avoid, it's not really good practice, since it's purely presentation data.
You can work around it by forcing the id to htmlEncode:
Thanks for the work around suggestion. We'll look into htmlEncode in groupTpl.
However could you clarify what would be the better practice to rendering HTML markup in Grid cell? For example, render a different icon for each Seniority. Do you suggest using a specialized render method for the column?
Also, could you confirm whether having html markup in the model is supported or not? In some cases, a grid cell may need to render external data which is pre-formatted html.
1) If it were my app, I would not include the whole markup and put it in the model, rather I would just send back the seniority, then use a renderer to show the image. The image is something on the presentation layer, so it should be applied there.
2) Not sure what you mean by "supported", of course you can put any old thing in your model data, it's more a question of best practice. Typically, presentation data like that doesn't really belong in the model unless the server is delivering it to you in that format and you've got no control over it.
Twitter - @evantrimboli
Don't be afraid of the source code!
Turkiyenin en sevilen filmlerinin yer aldigi xnxx internet sitemiz olan ve porn sex tarzi bir site olan mobil porno izle sitemiz gercekten dillere destan bir durumda herkesin sevdigi bir site olarak tarihe gececege benziyor. Sitenin en belirgin ozelliklerinden birisi de Turkiyede gercekten kaliteli ve muntazam, duzenli porno izle siteleri olmamasidir. Bu yuzden iste. Ayrica en net goruntu kalitesine sahip adresinde yayinlanmaktadir. Mesela diğer sitelerimizden bahsedecek olursak, en iyi hd porno video arşivine sahip bir siteyiz. "The Best anal porn videos and slut anus, big asses movies set..."