correctly renders highlighting when theres only one line