Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update the index of the semicolon after truncating the line starting with a semicolon #7

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

pzhlkj6612
Copy link

Hi. This project is great and thank you for your work.

I found an issue with string handling and tried to fix it. Please review and test the changes.

For testing

File v1.css:

selector {
    property_0:value_0;property_1:value_1
}

File v2.css is empty.

Output:

> .\CSSCompare.exe -v1 .\v1.css -v2 .\v2.css
selector{
        property_0:value_0
        p
        property_1:value_1
}

After applying the changes:

> .\CSSCompare.exe -v1 .\v1.css -v2 .\v2.css
selector{
        property_0:value_0
        property_1:value_1
}

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant