function addComment(author, comment, regdate, imgUrl)
{
if(imgUrl === undefined) imgUrl = 'https://kilho.net/wp-content/uploads/2019/05/avatar-85x85.jpg';
var newComment = '
';
jQuery('.comments').append(newComment);
}
jQuery(document).ready(function() {
var displayname = decodeURIComponent(getCookie("wordpress_display_name").replace(/\+/g, " ")); // +를 공백으로 대체 후 디코딩
jQuery('#kilho_thread').html("
' + comment.replace(/\n/g, '
' + // 줄바꿈을') + '
로 변환 '