Fixed issue with html-string name being trimmed