Skip to content

Commit

Permalink
deploy: 722e144
Browse files Browse the repository at this point in the history
  • Loading branch information
kewisch committed Apr 13, 2024
1 parent 3576c89 commit eaf4814
Showing 1 changed file with 4 additions and 5 deletions.
9 changes: 4 additions & 5 deletions api/stringify.js.html
Original file line number Diff line number Diff line change
Expand Up @@ -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';
Expand Down Expand Up @@ -133,7 +133,6 @@
value = stringify.paramPropertyValue(value);
}


line += ';' + paramName.toUpperCase() + '=' + value;
}

Expand Down Expand Up @@ -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;
}
Expand Down

0 comments on commit eaf4814

Please sign in to comment.