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

(Option to) remove the trailing slash in the generator element #2121

Open
Denperidge opened this issue Feb 22, 2025 · 2 comments
Open

(Option to) remove the trailing slash in the generator element #2121

Denperidge opened this issue Feb 22, 2025 · 2 comments
Assignees

Comments

@Denperidge
Copy link

Related to a problem?

After validating a site built with Cecil on the w3 validator, it gave an info message:

Info: Trailing slash on void elements has no effect and interacts badly with unquoted attribute values.

From line 13, column 3; to line 13, column 50

.org/">↩  <meta name="generator" content="Cecil 8.20.3" />↩</hea

Describe the solution you'd like

While it's only an info message and not a warning, it might be nice to consider (at least optionally) being able to remove the trailing slash from the generator tag.

Describe alternatives you've considered

Forking just for that, but that is not worth it for the info message's sake

Additional context

No response

@ArnaudLigny
Copy link
Member

Hello @Denperidge, yep this is an old problem to fix: I should take the time to remove old references to the artificial closing tag " />".

@ArnaudLigny
Copy link
Member

Done, released with version 3.31.0.

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

No branches or pull requests

2 participants