-
Notifications
You must be signed in to change notification settings - Fork 126
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
JQuery in guidelines.xsl (and many other places) #612
Comments
Very much agreed. In the Stylesheets repo, JQuery is included in Stylesheets/odds/guidelines.xsl Lines 659 to 679 in a394b17
Which I believe is generated by TEI/P5/Utilities/guidelines.xsl.model ? https://github.com/TEIC/TEI/blob/dev/P5/Utilities/guidelines.xsl.model#L638-L672
ul {
column-count: 3
}
/* Or */
ul {
display:grid;
grid-template-columns: repeat(1fr, 3)
} |
I'd be inclined to do something like:
which would give flexibility for small-format devices. Dependabot alerts can be seen here: |
Assigning to @joeytakeda to take a crack in a branch and report back (or submit PR if all went smoothly … but I have my suspicions :-). |
Not sure if this is resolved with the recent release and @raffazizzi 's fix (c.f. TEIC/TEI#2657) |
@joeytakeda I removed the dependency for the TEI Guidelines, but that was injected by an XSLT in the TEI repo. I think the Stylesheets still include JQuery deps in other conversions. I can see it in epub, for example. |
For a long time now I've been getting regular warnings by email from the GitHub Dependabot tool warning that teic.github.io has an ancient vulnerable version of JQuery (jquery-1.2.6.min.js) which should be updated to 1.6.3 or higher. Looking through the TEI and Stylesheets repos, I find dozens of references to various versions of JQuery, none of which are up to date. I think it's time to try to purge all dependencies on JQuery and replace them with simple modern vanilla CSS and JS.
The text was updated successfully, but these errors were encountered: