Respect spaces in clustering dialog. Closes #4004. (#4005)

This commit is contained in:
Antonin Delpeuch 2021-06-27 16:14:22 +02:00 committed by GitHub
parent 91440b4cfb
commit 9919ee51bf
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -227,7 +227,7 @@ ClusteringDialog.prototype._renderTable = function(clusters) {
var choice = choices[c];
var li = document.createElement('li');
var entry = entryTemplate.cloneNode();
entry.textContent = choice.v.toString();
entry.textContent = choice.v.toString().replaceAll(' ', '\xa0');
entry.addEventListener('click', onClick);
li.append(entry);
if (choice.c > 1) {