Twitter bootstrap 在durandal(或引导)对话框中显示html和/或图像

Twitter bootstrap 在durandal(或引导)对话框中显示html和/或图像,twitter-bootstrap,knockout.js,durandal,bootstrap-modal,Twitter Bootstrap,Knockout.js,Durandal,Bootstrap Modal,我正在尝试使用app.showMessage(…)显示一个简单的对话框,它似乎只能显示文本而不能显示html 我要过去 "This is a lot of text that I want displaying at the top of the modal dialog. This should be followed by an image below.<div><img src='../../Content/images/materialDimensions.jpg'

我正在尝试使用
app.showMessage(…)
显示一个简单的对话框,它似乎只能显示文本而不能显示html

我要过去

"This is a lot of text that I want displaying at the top of the modal dialog.  This should be followed by an image below.<div><img src='../../Content/images/materialDimensions.jpg' /></div>"
“我想在模式对话框的顶部显示大量文本。后面应该是下图。”
但是模态对话框只是显示文本/代码,而不是实际的图像


有没有办法告诉Durandal改变它的绑定方式,或者它不是这样设计的?我需要使用引导模式吗?

这有帮助吗?是的,谢谢。它允许我建立一个自定义对话框,几乎满足我的需要。这有帮助吗?是的,谢谢。它允许我建立一个自定义对话框,它几乎满足了我的需要。