Download builder issues - mixed minified resources, concatenation with charset
Download builder issues - mixed minified resources, concatenation with charset

Hello,
I think I might found something.
The CSS-resources provided at https://datatables.net/download under Step 3 have the following issues:
- The AutoFill extension has its CSS files for minified/not-minified variants swapped - autoFill.dataTables.css is provided when a minified variant is chosen, and autoFill.dataTables.min.css is provided when a not-minified variant is chosen.
- This affects the listing of not-concatenated files under the CDN tab.
- This also affects the concatenated CSS files in DataTables.zip under the Download tab (both minified/not-minified variants).
- The '@charset' CSS rule needs to be at the very beginning of a file. Presently it is either absent (in the minified variants), or it follows after the initial comment (in the concatenated variant). This has caused an occasional issue in rendering of ordering arrow-symbols when viewed in Chrome.
- This affects the files served under the CDN and Download tabs.
Answers
Thanks for letting me know about the AutoFill CSS files being the wrong way around. I've corrected that now, but it will only effect new builds. I'll to a release of AutoFill soon to clear that out.
Ah! Is that what does it?! Thank you. I'll look into a change for the download builder to fix that.
Allan
Hello, thanks for fixing the charset issue in CSS.
Looking at version 2.2.2, however, I see there are still some occurences of a non-ASCII checkmark character in
buttons.dataTables.css
.Would you encode it too? I think it's https://amp-what.com/unicode/search/%E2%9C%93 -
"\2713"
Thank you! Commit made and it will be in the next Buttons release.
Editor appears to be the only other extension with this error. I've corrected is as well and it will be in the next patch release as well.
Allan