Browse Source

HUE-153. Problems with meta refresh handling

Marcus McLaughlin 15 years ago
parent
commit
56a833d66c
1 changed files with 1 additions and 1 deletions
  1. 1 1
      desktop/core/static/js/Source/CCS/CCS.JFrame.js

+ 1 - 1
desktop/core/static/js/Source/CCS/CCS.JFrame.js

@@ -639,7 +639,7 @@ CCS.JFrame = new Class({
 		},
 		meta: function(data) {
 			//grab any meta tags and remove them from the html
-			data.meta = Elements.from(data.html.getTags('meta').join(' ').replace('meta', 'span'));
+			data.meta = Elements.from(data.html.getTags('meta').join(' ').replace(/(<|<\/)meta/g, '$1span'));
 			data.html = data.html.stripTags('meta');
 		},
 		elements: function(data) {