Content deleted Content added
Mike Dillon (talk | contribs) No edit summary |
Mike Dillon (talk | contribs) tweak code for zero-width spaces |
||
Line 78:
var itemLabel = historyItems[n].replace(/_/g, " ");
// Add zero-width spaces before some punctuation
itemLabel = itemLabel.replace(/
// Add zero-width spaces after other punctuation
itemLabel = itemLabel.replace(/([:;,.)-])/g, "$1\u200B");
historyList.appendChild(li(
|