1
4

1 回答 1

1

Here is the working code:

var converter = new Markdown.getSanitizingConverter();

$.each($('.myclass'),function(key,value){
    p = converter.makeHtml($(value).text());

    $(value).html("");
    $(value).append(p);
});
于 2013-01-06T07:25:27.950 回答