Converts the responses from the injected content scripts into a string
representing the HTML.

@param {Array<Object>} messages The response from all of the injected content
scripts.
@return {string} The resulting HTML.
177689
function outputHTMLString(messages) {
  var rootIndex = 0;
  for (var i = 1; i < messages.length; i++) {
    rootIndex = messages[i].frameIndex === '0' ? i : rootIndex;
  }
  fillRemainingHolesAndMinimizeStyles(messages, rootIndex);
  return messages[rootIndex].html.join('');
}
250800
public MailContent text(String s) {
        html.a(escapeXml(s));
        text.a(s);
        return this;
    }
20532
function() {
		var html = "";
		gui.Object.nonmethods(this).forEach(function(att) {
			html += this._out(att);
		}, this);
		return html;
	}
785371
function getHtmls (urls) {
  return Promise.all(urls.map(url => got(url).then(res => res.body)))
}
648748
protected function _renderMessages(array $messages)
    {
        // Don't create list for single message
        if (count($messages) == 1) {
            return reset($messages);
        }

        // Start output
        $output = '<ul>';

        // Loop through messages
        foreach ($messages as $message) {

            // Add message
            $output .= '<li>' . $message . '</li>';
        }

        // Finish output
        $output .= '</ul>';

        return $output;
    }
666181
function toHtml() {
        $services = [];
        foreach ($this->services as $service => $semafor) {
            if ($semafor) {
                $services[] = $service;
            }
        }
        $ret = '<div';
        $ret .= '<div class="yashare-auto-init" ' . 'data-yashareL10n="ru" ' . 'data-yashareType="' . $this->type . '" ' . 'data-yashareQuickServices="' . implode(',',
                $services) . '"';
        if ($this->yashareImage) {
            $ret .= 'data-yashareImage="' . $this->yashareImage . '"';
        }
        $ret .= '></div>';
        return '<script type="text/javascript" src="//yastatic.net/share/share.js" charset="utf-8"></script>' . $ret;
    }
702311
function (msg) {
        msg = this.cleanWhiteSpace(msg);
        msg = msg.replace(/%\([a-zA-Z0-9_.|]+\)s/g, function (variable_name) {
            var name = variable_name.substring(2, (variable_name.length - 2));
            return '{' + name + '}';
        });
        msg = msg.replace(/%\([a-zA-Z0-9_.|]+\)d/g, function (variable_name) {
            var name = variable_name.substring(2, (variable_name.length - 2));
            return '{' + name + ', number}';
        });
        msg = msg.replace(/%(d|i)/g, '{digit, number}');
        msg = msg.replace(/%s/g, '{string}');
        return msg;
    }
74125
function logToConsole(tags, message) {
    if (enabled) {
        if (arguments.length < 2) {
            message = tags;
            tags = [];
        }

        if (!util.isArray(tags)) tags = [];

        var text = new Date().getTime() + ', ';
        if (tags.length > 0) {
            text = text + tags[0] + ', ';
        }
        text = text + message;
        console.log(text);
    }
}
1131613
def fetch_html(self, msg_nums):
        
        if not msg_nums:
            raise Exception("Invalid Message Number!")

        return self.__imap_fetch_content_type(msg_nums, self.HTML)
270698
public static String msgToString(AbstractMessage message)
   {
     if (message == null) return STRING_NULL;
     if (message instanceof JsMessage) return message + "[" + ((JsMessage)message).getSystemMessageId() + "]";
     return message.toString();
   }
388265
function getAlertHtml(message) {
        var html = [];
        html.push('<div class="alert alert-danger alert-dismissible">');
        html.push('<button type="button" class="close" data-dismiss="alert">');
        html.push('<span>&times;</span>');
        html.push('</button>' + message);
        html.push('</div>');
        return html.join('');
    }
1314941
function(message) {
      var key = "";
      if (message) {
        var x = message.level &&
        (key += message.level, message.kind &&
          (key += this.delimiter + message.kind, message.rule &&
            (key += this.delimiter + message.rule, message.values.title &&
              (key += this.delimiter + message.values.title))));
            }
            return (key) ? key : "";
          }
867220
function (message) {
  var newMessage = "";
  if (requestNamespace) {
    if (requestNamespace.get('reqId')) {
      newMessage += "[" + requestNamespace.get('reqId') + "]";
    }
    if (requestNamespace.get('workerId')) {
      newMessage += "[Worker - " + requestNamespace.get('workerId') + "]";
    }
    const hrTime = process.hrtime();
    newMessage += "[" + timeInMilli(hrTime) + "]";
  }
  newMessage += message;
  return newMessage;
}
755544
public static String sputs(Object... messages) {
        CharBuf buf = CharBuf.create(80);
        return sputs(buf, messages).toString();
    }
1051282
function(msgs){
  var res = '[', msg;
  for(var i=0, l=msgs.length; i<l; i++) {
    if(i > 0) {
      res += ',';
    }
    msg = msgs[i];
    if(typeof msg === 'string') {
      res += msg;
    } else {
      res += JSON.stringify(msg);
    }
  }
  res += ']';
  return res;
}
1287015
function (message, context) {
                message = this.messages[message] || message.toString();
                if (context) {
                    $.each(context, function (key, value) {
                        message = message.replace('{' + key + '}', value);
                    });
                }
                return message;
            }
1140375
function(msg){
			if (msg.HTML) {
				// msg is HTML to be inserted directly
				var span = document.createElement("span");
				span.innerHTML = msg.Message;
				return span;
			}
			msg = msg.Message || msg;
			
			var chunks, msgNode;
			try {
				chunks = URLUtil.detectValidURL(msg);
			} catch (e) {
				/* contained a corrupt URL */
				chunks = [];
			}
			
			if (chunks.length) {
				msgNode = document.createDocumentFragment();
				URLUtil.processURLSegments(msgNode, chunks);
				
				/* all status links open in new window */
				Array.prototype.forEach.call(lib.$$("a", msgNode), function(link) { //$NON-NLS-0$
					link.target = "_blank"; //$NON-NLS-0$
				});
			}
			
			return msgNode || document.createTextNode(msg);
		}