getPath method added
Current class added to anchor

When nowrap option is selected, anchor did not have “current” class.