code: function switchBackFromEmbeddedLanguageIfNecessary(context) {
  			var current = last(context.embeddedLanguageStack),
  				lang;
  			
  			if (current && current.switchBack(context)) {
  				context.language = languages[current.parentLanguage];
  				lang = context.embeddedLanguageStack.pop();
  				
  				//restore old items
  				context.items = clone(lang.oldItems);
  				lang.oldItems = {};
  			}
  		}
docs: called after processing the current