I2P Address: [http://git.idk.i2p]

Skip to content
Snippets Groups Projects
Commit ba4f6608 authored by zzz's avatar zzz
Browse files

update nbsp comment

parent 07aa0798
No related branches found
No related tags found
No related merge requests found
...@@ -25,7 +25,8 @@ public class ConfigLoggingHelper extends HelperBase { ...@@ -25,7 +25,8 @@ public class ConfigLoggingHelper extends HelperBase {
int bytes = _context.logManager().getFileSize(); int bytes = _context.logManager().getFileSize();
if (bytes <= 0) return "1.00 MB"; if (bytes <= 0) return "1.00 MB";
// "&nbsp;" comes back in the POST as 0xc2 0xa0 // "&nbsp;" comes back in the POST as 0xc2 0xa0
// which is not recognized as whitespace and who knows why // non-breaking space is U+00A0 which is 0xc2 0xa0 in UTF-8.
// we could figure out where the UTF-8 problem is but why bother.
return DataHelper.formatSize2(bytes).replace("&nbsp;", " ") + 'B'; return DataHelper.formatSize2(bytes).replace("&nbsp;", " ") + 'B';
} }
public String getLogLevelTable() { public String getLogLevelTable() {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment