Improve format of en/decoding text descriptions

This commit is contained in:
toby 2017-05-17 17:18:08 -04:00
parent 4b1d0fd011
commit dc61aeeeb8

View file

@ -892,7 +892,7 @@ const OperationConfig = {
"<br><br>", "<br><br>",
"Supported charsets are:", "Supported charsets are:",
"<ul>", "<ul>",
Object.keys(CharEnc.IO_FORMAT).map(e => `<li>${e}</li>`).join("<br>"), Object.keys(CharEnc.IO_FORMAT).map(e => `<li>${e}</li>`).join("\n"),
"</ul>", "</ul>",
].join("\n"), ].join("\n"),
run: CharEnc.runEncode, run: CharEnc.runEncode,
@ -912,7 +912,7 @@ const OperationConfig = {
"<br><br>", "<br><br>",
"Supported charsets are:", "Supported charsets are:",
"<ul>", "<ul>",
Object.keys(CharEnc.IO_FORMAT).map(e => `<li>${e}</li>`).join("<br>"), Object.keys(CharEnc.IO_FORMAT).map(e => `<li>${e}</li>`).join("\n"),
"</ul>", "</ul>",
].join("\n"), ].join("\n"),
run: CharEnc.runDecode, run: CharEnc.runDecode,