We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Functionl htlm to dom not work with String object, only work with string literal.
version: 2.x, 3.x; test Browser: last Google Chrome;
expample:
// string literal: console.log($.('<div></div>')); // [<div></div>]
// string object: console.log($.(new String('<div></div>'))); // ["<", "d", "i", "v", ">", "<", "/", "d", "i", "v", ">"]
https://jsfiddle.net/7v0dt0h6/2/
The text was updated successfully, but these errors were encountered:
This is intentional:
However, it's definitely not well-documented. I'll open a ticket.
Sorry, something went wrong.
No branches or pull requests
Description
Functionl htlm to dom not work with String object, only work with string literal.
version: 2.x, 3.x;
test Browser: last Google Chrome;
expample:
Link to test case
https://jsfiddle.net/7v0dt0h6/2/
The text was updated successfully, but these errors were encountered: