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

comment-excess - Fix rare bug + improve style #7716

Merged
merged 2 commits into from
Aug 22, 2024

Conversation

kovsu
Copy link
Member

@kovsu kovsu commented Aug 21, 2024

Test URLs

refined-github/sandbox#3

Screenshot

before:

image

after:

image

@fregante
Copy link
Member

It seems we should also match the • character. Is GitHub consistent with its usage on that line?

@kovsu
Copy link
Member Author

kovsu commented Aug 21, 2024

@fregante It doesn't need to match • character. You can see hidden items works fine in the second image.

@fregante
Copy link
Member

I mean “match in style” not in regex. The two • in the second screenshot have different sizes. One of them is added by us and should be changed to match GitHub’s character instead. Or maybe it needs a class?

@kovsu
Copy link
Member Author

kovsu commented Aug 21, 2024

Oooo, get it.

@kovsu
Copy link
Member Author

kovsu commented Aug 21, 2024

Maybe just need change the character. -> ·

image

@fregante fregante added the bug label Aug 22, 2024
@fregante fregante changed the title comment-excess - Update regex comment-excess - Fix rare bug Aug 22, 2024
@fregante fregante changed the title comment-excess - Fix rare bug comment-excess - Fix rare bug + improve style Aug 22, 2024
@fregante fregante merged commit 7ebf100 into refined-github:main Aug 22, 2024
11 checks passed
@kovsu kovsu deleted the fix-2 branch August 22, 2024 06:26
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Development

Successfully merging this pull request may close these issues.

2 participants