不要显示我的超文本链接

时间:2017-06-02 11:43:40

标签: html typescript

我有一个描述符组件,在我的标签中,它不应该显示超文本链接。但它显示的内容如下所示,我不想要。

description: 'A box that contains a label with multiple headings. Designed to be used inside a' + ' <a href="#/components/mae-box-layout">box-layout</a>.',

他告诉我:

A box that contains a label. Designed to be used inside a <a href="#/components/mae-box-layout">box-layout</a>.

1 个答案:

答案 0 :(得分:0)

您正在将href用作字符串。尝试:

'A box that contains a label with multiple headings. Designed to be used inside a ' + <a href="#/components/mae-box-layout">box-layout</a>.