【发布时间】:2013-04-28 13:14:41
【问题描述】:
我的页面使用this jQuery markdown。 jQuery代码如下:
var converter = new Markdown.Converter();
$(document).ready(function(e) {
$('#content').html( converter.makeHtml($('#content').html()) );
/* and some more */
});
这一直运行良好。直到现在我的页面都没有blockquote。今天,我尝试使用 blockquote 内容,但页面没有正确解析 HTML。
文本存储在 MySQL 表中。考虑以下几点:
Just some
> random blockquote content. let's see if it works or not
此文本在markdown editor box 上正确显示:
但是当它作为网页打开时(我使用的是 Opera;但在所有其他浏览器中仍然存在问题,即 Firefox、Chrome 和 IE)
P.S.:所有图片均为缩略图。点击查看大图。
这是一个显示上述问题的小提琴链接:http://jsfiddle.net/atdEP/
【问题讨论】:
标签: jquery html css markdown wmd-markdown