##// END OF EJS Templates
hgweb: add appendFormatHTML javascript function...
Alexander Plavin -
r19743:fdd41257 default
parent child Browse files
Show More
@@ -341,3 +341,7 b' function docFromHTML(html) {'
341 doc.documentElement.innerHTML = html;
341 doc.documentElement.innerHTML = html;
342 return doc;
342 return doc;
343 }
343 }
344
345 function appendFormatHTML(element, formatStr, replacements) {
346 element.insertAdjacentHTML('beforeend', format(formatStr, replacements));
347 }
General Comments 0
You need to be logged in to leave comments. Login now