Html 不显示我的超文本链接

Html 不显示我的超文本链接,html,typescript,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>.', description:'包含多个标题的标签的框。设计用于“+”内,

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

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>.',
description:'包含多个标题的标签的框。设计用于“+”内,
他向我展示了:

A box that contains a label. Designed to be used inside a <a href="#/components/mae-box-layout">box-layout</a>.
包含标签的框。设计用于室内。

您正在将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>.
”包含多个标题的标签的框。设计用于“+”内部。