ensured inline-value handling can cope with empty strings
restored appropriate helper for inline-label generation

this was erroneously removed with the previous revert
(2740ce33414b8543496eb06245c3e6e24145ff28)