In my code I have a scriptlet that sets the href equal to a value that may contain spaces.
Here is an example:
<a data-toggle="collapse" href="#<%=supportGroup%>">Support group: <%=supportGroup%></a>
The value of supportGroup is something like ENT-ESD VALUE. This value is an id to a div as well. I am wondering of a way to encode this value. Any suggestions?