Procházet zdrojové kódy

HUE-153. Problems with meta refresh handling

Marcus McLaughlin před 16 roky
rodič
revize
56a833d66c
1 změnil soubory, kde provedl 1 přidání a 1 odebrání
  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) {