I want to be displayed a space character on the left and right of label text on link.
In other words, I do not want to left and right trim in label text on link.
what’s the best way?
Use the soft-hyphen character, which is Unicode character \u00AD in JavaScript or in HTML. For example in a string literal in JavaScript:
{ text: "\u00AD indented text", … }