Skip to content
This repository was archived by the owner on Jan 1, 2025. It is now read-only.

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 subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant