Skip to content

Commit dddcef0

Browse files
committed
Fix warning text in code to match warnings.md
1 parent c8147a3 commit dddcef0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/core.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ jQuery.fn.init = function( selector, context, rootjQuery ) {
1717
migrateWarn("$(html) HTML strings must start with '<' character");
1818
}
1919
if ( selector.charAt( selector.length -1 ) !== ">" ) {
20-
migrateWarn("$(html) HTML string has stray text after last tag");
20+
migrateWarn("$(html) HTML text after last tag is ignored");
2121
}
2222
// Now process using loose rules; let pre-1.8 play too
2323
if ( context && context.context ) {

0 commit comments

Comments
 (0)