diff --git a/src/formatter/htmlbeautifier.ts b/src/formatter/htmlbeautifier.ts
index 37eddab..33acd52 100644
--- a/src/formatter/htmlbeautifier.ts
+++ b/src/formatter/htmlbeautifier.ts
@@ -233,7 +233,7 @@ export default class HtmlBeautifier {
const eol = vscode.workspace.getConfiguration().get("files.eol");
// Determine newline character(s) based on the 'files.eol' setting and the platform
- let newline = eol === "auto" ? (this.isWindows() ? "\r\n" : "\n") : eol;
+ const newline = eol === "auto" ? (this.isWindows() ? "\r\n" : "\n") : eol;
// Append the newline to the result
result += newline;