The reason why I use two labels is that the first label is formatted in bold.
The desired output in the datagrid cell should be:
Some Company, Some Name
However, the actual output looks like this:
Some Company , Some Name
(note the extra space after the company name, before the colon!)
The reason for that is there is some whitespace and comment tags between the two label tags in the rendered HTML. Is there a way how to prevent this behaviour?
You see there is a lot of whitespace/comments between the actual label tags which cause the extra space before the colon.
Any ideas how to fix this? Merging the labels into one single label is not an option because the company name (first label) is supposed to be formatted differently (bold in this case).
yes, I also thought of that but this would also make the colon bold. Is there no chance to prevent the whitespace/comments which are rendered automatically?