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

Announcement banner does not disappear when remote HTML file contains end-of-file newline. #2102

Closed
AAriam opened this issue Jan 22, 2025 · 2 comments · Fixed by #2105
Closed

Comments

@AAriam
Copy link
Contributor

AAriam commented Jan 22, 2025

Hi there,

when the remote announcement banner file contains only whitespace characters, the announcement banner does not disappear. This is inconvenient because many workflows automatically add an end-of-file newline to all files (e.g., linters; IDEs; even GitHub UIs do this by default). I think it'd be better to first strip the HTML before deciding whether it is empty or not.

@drammock
Copy link
Collaborator

good idea. do you have time to make a PR with that fix?

@AAriam
Copy link
Contributor Author

AAriam commented Jan 23, 2025

Submitted PR #2105.

drammock added a commit that referenced this issue Jan 24, 2025
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 a pull request may close this issue.

2 participants