]> source.dussan.org Git - jquery.git/commitdiff
Add a comment 1128/head
authorOleg <markelog@gmail.com>
Sun, 13 Jan 2013 19:46:50 +0000 (23:46 +0400)
committerOleg <markelog@gmail.com>
Sun, 13 Jan 2013 19:46:50 +0000 (23:46 +0400)
src/manipulation.js

index 5b462645c224f12bddbe56096dc01f6dcac6d303..9f1ecfa7f0cb055848fd7cbbd70c60597ec2ee72 100644 (file)
@@ -28,6 +28,8 @@ var nodeNames = "abbr|article|aside|audio|bdi|canvas|data|datalist|details|figca
        rscriptType = /^$|\/(?:java|ecma)script/i,
        rscriptTypeMasked = /^true\/(.*)/,
        rcleanScript = /^\s*<!(?:\[CDATA\[|--)|(?:\]\]|--)>\s*$/g,
+
+       // We have to close these tags to support XHTML (#13200)
        wrapMap = {
                option: [ 1, "<select multiple='multiple'>", "</select>" ],
                legend: [ 1, "<fieldset>", "</fieldset>" ],