I wanted to show some information (e.g percentages) on the right side of each element. Like in this screenshot:
Problem is, you are calling escapeHTML() on every element which is itself calling text(). So all my html is stripped. That makes it impossible to have more complicated li elements.
By making the escapeHTML method available as an option I can override it easily and make this possible.
Maybe simply giving an option to not escape the HTML is another possibility we could implement.
Hi,
I wanted to show some information (e.g percentages) on the right side of each element. Like in this screenshot:
Problem is, you are calling escapeHTML() on every element which is itself calling text(). So all my html is stripped. That makes it impossible to have more complicated li elements. By making the escapeHTML method available as an option I can override it easily and make this possible. Maybe simply giving an option to not escape the HTML is another possibility we could implement.