From 56c75c2f2e6266b98bc6a90e73dd64986e92daf3 Mon Sep 17 00:00:00 2001 From: Christopher Hase Date: Wed, 26 Mar 2025 15:34:52 +0100 Subject: [PATCH] create html part 2 --- broker.ts | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/broker.ts b/broker.ts index 353864b..9e14446 100644 --- a/broker.ts +++ b/broker.ts @@ -68,7 +68,8 @@ function html(input: string): string { const lines = input.split("\n"); // Bearbeite jede Zeile (z.B. trimme Leerzeichen und füge einen Prefix hinzu) - const processedLines = lines.map(line => `> ${line.trim()}`); + //const processedLines = lines.map(line => `> ${line.trim()}`); + const processedLines = lines.map(line => processLine(line)); // Füge die Zeilen wieder zu einem String zusammen return processedLines.join("\n"); @@ -77,6 +78,6 @@ function html(input: string): string { //TODO: process every line... function processLine(input: string): string { - return ""; + return input; } \ No newline at end of file