[Core] Fix the max_lenth to 36 when hyphenate option is used (fixes
 #43).
[Core] Use format is better.
Merge pull request #43 from hobbestigrou/43-fix_max_legth_with_hyphenate

Update problem with hyphenate.