From eaf4814c0218269d6e781d7e9465fcb01fd5bb41 Mon Sep 17 00:00:00 2001 From: kewisch Date: Sat, 13 Apr 2024 21:25:34 +0000 Subject: [PATCH] deploy: 722e144012ce9ef90e3a0676a12d97e60a7318e3 --- api/stringify.js.html | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/api/stringify.js.html b/api/stringify.js.html index fa634d67..59f61baf 100644 --- a/api/stringify.js.html +++ b/api/stringify.js.html @@ -6,7 +6,7 @@ * Portions Copyright (C) Philipp Kewisch */ import design from "./design.js"; -import { foldline, unescapedIndexOf } from "./helpers.js"; +import { foldline } from "./helpers.js"; const LINE_ENDING = '\r\n'; const DEFAULT_VALUE_TYPE = 'unknown'; @@ -133,7 +133,6 @@ value = stringify.paramPropertyValue(value); } - line += ';' + paramName.toUpperCase() + '=' + value; } @@ -218,9 +217,9 @@ */ stringify.paramPropertyValue = function(value, force) { if (!force && - (unescapedIndexOf(value, ',') === -1) && - (unescapedIndexOf(value, ':') === -1) && - (unescapedIndexOf(value, ';') === -1)) { + (value.indexOf(',') === -1) && + (value.indexOf(':') === -1) && + (value.indexOf(';') === -1)) { return value; }