You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@couchdb.apache.org by "Antonio-Maranhao (via GitHub)" <gi...@apache.org> on 2026/08/11 19:43:59 UTC

[PR] fix: removes BOM char in generated CSS files [couchdb-fauxton]

Antonio-Maranhao opened a new pull request, #1560:
URL: https://github.com/apache/couchdb-fauxton/pull/1560

   ## Overview
   
   Since the update to sass 1.82.0, the `\uFEFF` UTF-8 character was being added to the beggining of some lines in the generated CSS files. This happens because Sass adds a UTF-8 Byte Order Mark (BOM) automatically in compressed output mode when non-ASCII characters are detected.
   
   The BOM character causes problems because in some situations the browser seems to stop parsing the CSS and the CSS properties after the charater are not loaded.
   
   ## Testing recommendations
   
   Build a release and check the BOM character no longer appears in the `dist\release\assets\style*.css` files
   
   ## GitHub issue number
   
   n/a
   
   ## Related Pull Requests
   
   n/a
   
   ## Checklist
   
   - [x] Code is written and works correctly;
   - [ ] Changes are covered by tests;
   - [ ] Documentation reflects the changes;
   - [ ] Update [rebar.config.script](https://github.com/apache/couchdb/blob/main/rebar.config.script) with the correct tag once a new Fauxton release is made
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: notifications-unsubscribe@couchdb.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [PR] fix: removes BOM char in generated CSS files [couchdb-fauxton]

Posted by "Antonio-Maranhao (via GitHub)" <gi...@apache.org>.
Antonio-Maranhao merged PR #1560:
URL: https://github.com/apache/couchdb-fauxton/pull/1560


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: notifications-unsubscribe@couchdb.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org