From d3d8ed443cedf9bba3af4fd71744cceb0ace0c93 Mon Sep 17 00:00:00 2001 From: Oleg Date: Fri, 28 Dec 2012 18:56:29 +0400 Subject: [PATCH] Add comments for optgroup and option elements in wrapMap Add tests for optgroup element --- src/manipulation.js | 3 +++ test/unit/manipulation.js | 6 +++++- 2 files changed, 8 insertions(+), 1 deletion(-) diff --git a/src/manipulation.js b/src/manipulation.js index 967c6068d..0ce24de18 100644 --- a/src/manipulation.js +++ b/src/manipulation.js @@ -9,6 +9,8 @@ var rxhtmlTag = /<(?!area|br|col|embed|hr|img|input|link|meta|param)(([\w:]+)[^> rscriptTypeMasked = /^true\/(.*)/, rcleanScript = /^\s*\s*$/g, wrapMap = { + + // Support: IE 9 option: [ 1, "