-
-
Notifications
You must be signed in to change notification settings - Fork 5.1k
Description
With the default highlighter mode, which highlights the first 3 tokens/characters, the highlighting function causes spaces to be removed if any of the first three characters is a space.
Input:
{A Section Here}
Expected Output:
"A Section Here" or "A Section Here"
Actual Output:
"ASection Here"
Most headers are more than 3 characters, and the non-highlighted portions keep the spaces, so this problem doesn't appear to affect the average resume created.
If you change the highlight function to increase the number of characters highlighted, this become a more noticeable problem. However, even with 3 characters, I ran into this issue when I wanted to start a section with a single character or two character word, followed by a space, and another word. The coloring functionality removes the space.