JQMIGRATE: $(html) HTML strings must start with '<' character
- jquery.uls.core.js :88
this.$menu = $( template );
If it contains text (e.g. "Hello world"), then you have to use $.fn.html() or $.parseHTML instead due to ambiguity with a css selector.
If it contains leading whitespace or '#', then $() no longer allows this for consistency and security reasons, and also, use $.parseHTML(), or fix the string to not have leading whitespace.
I think in case of ULS you just need to make sure that leading new line is gone.
Version: unspecified
Severity: normal