trim list name for id

This commit is contained in:
Collin M. Barrett 2017-01-29 17:52:52 -06:00
parent 07d08887f0
commit 20b33b6e12

View file

@ -6,7 +6,7 @@ function GenerateHtmlListName(listName) {
return listName;
} else {
if (listName) {
var html = "<h3 id=\"" + listName + "\">" + listName + "</h3>";
var html = "<h3 id=\"" + TrimUrlSlug(listName) + "\">" + listName + "</h3>";
return html;
} else {
return "";