DataTables download builder - Bootstrap

DataTables download builder - Bootstrap

BalkothBalkoth Posts: 1Questions: 0Answers: 0
edited April 7 in Bug reports

Hi,

there is a problem with how the download builder merges files:

  • Styling Framework: Bootstrap 4
  • Packages: Bootstrap 4, DataTables
  • Download: Minify, Concatenate

The downloadbuilder advises to use: <link rel="stylesheet" type="text/css" href="DataTables/datatables.min.css"/>
This file has the content of "dataTables.bootsrap4.min.css" with a preceeding comment. The problem is in the encoding of "dataTables.bootstrap4.min.css" as this file is encoded in UTF-8-BOM. The resulting "datatables.min.css" has this BOM embedded in between the comment and the css.

The second problem that arises is that the resulting "datatables.min.css" is encoded in UTF-8. Here the BOM is suddenly missing. The comment then somehow confuses the browser (chrome, edge) to not load the css correctly.

<- dataTables.bootstrap4.min.css
<- datatables.min.css

If in any case more information is needed i will gladly help out.

Sign In or Register to comment.