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

release notes add release="value" attribute to body element #83

Open
kglotfelty opened this issue Mar 1, 2024 · 0 comments
Open

release notes add release="value" attribute to body element #83

kglotfelty opened this issue Mar 1, 2024 · 0 comments
Labels
HTML5 issues reported by HTML5 checker

Comments

@kglotfelty
Copy link
Member

The publishing code is adding the release attribute to the body tag which the new HTML5 checker doesn't like.

For example with ciao_4.1.1_release.xml it has

<relnotes release="4.1.1">

which gets published as

<body class="withnavbar" release="4.1.1"> 

which gets flagged as an error

% publish ciao_4.1.1_release.xml  --force
Parsing [relnotes]: ciao_4.1.1_release
Created: /proj/web-cxc-dmz-prev/htdocs/ciao4.16/releasenotes/ciao_4.1.1_release.html
Validate: /proj/web-cxc-dmz-prev/htdocs/ciao4.16/releasenotes/ciao_4.1.1_release.html
HTML issues (see Doug):
1 : error - Attribute “release” not allowed on element “body” at this point.

The page can be viewed at:
  https://cxc-prev.cfa.harvard.edu/ciao4.16/releasenotes/ciao_4.1.1_release.html
@kglotfelty kglotfelty added the HTML5 issues reported by HTML5 checker label Mar 4, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
HTML5 issues reported by HTML5 checker
Projects
None yet
Development

No branches or pull requests

1 participant