Skip to content

(GitHub code show whitespace) shows space character on empty lines? #65

Closed
@animatedantmo

Description

@animatedantmo

I am using version Chrome Version 71.0.3578.98, 1.2.4 of the GitHub code show whitespace script and the split view for diffs. I am not sure if this is how things always were displayed but I noticed that each line is being prefixed with a white space character. It even seems to throw off the display of lines that only contain line breaks.

This is the scss file as displayed with the script

screen shot 2018-12-20 at 8 22 54 am

This is that same scss file as displayed in my editor with whitespace displayed

screen shot 2018-12-20 at 8 26 32 am

Notice line 8 in the editor vs how its displayed in the diff, specifically the way it seems to wrap.
Is there something I should be doing differently?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions