old line break style

This commit is contained in:
Woody 2024-01-17 21:47:45 +01:00
parent ddfe925f8c
commit 783a4d3996
No known key found for this signature in database
GPG Key ID: 9872D7F5072789B2

View File

@ -57,7 +57,6 @@ const multiHeader = `/*
* Instead, see https://kno.wled.ge/advanced/custom-features/#changing-web-ui * Instead, see https://kno.wled.ge/advanced/custom-features/#changing-web-ui
* to find out how to easily modify the web UI source! * to find out how to easily modify the web UI source!
*/ */
`; `;
function hexdump(buffer, isHex = false) { function hexdump(buffer, isHex = false) {
@ -148,7 +147,7 @@ async function writeHtmlGzipped(sourceFile, resultFile, page) {
async function specToChunk(srcDir, s) { async function specToChunk(srcDir, s) {
const buf = fs.readFileSync(srcDir + "/" + s.file); const buf = fs.readFileSync(srcDir + "/" + s.file);
let chunk = `// Autogenerated from ${srcDir}/${s.file}, do not edit!!\n` let chunk = `\n// Autogenerated from ${srcDir}/${s.file}, do not edit!!\n`
if (s.method == "plaintext" || s.method == "gzip") { if (s.method == "plaintext" || s.method == "gzip") {
let str = buf.toString("utf-8"); let str = buf.toString("utf-8");