在Jade Mixin中显示中断标签

我有一个JSON文件在Jade Mixin中被调用来显示文本。 不过,我需要在JSON字段之一中插入一个break标签,并不知道如何在Jade Mixin中完成这个标记。 我似乎无法在任何地方find相关信息。

这是JSON文件:

"features": { "employers": { "title": "For Employers", "description": "Company corporate financial wellness program is designed to help employers lessen financial stress in the workplace, increase retirement readiness, and strengthen workplace culture.<br />Company offers a holistic approach to corporate financial wellness.", "featureList": [ { "iconSlug": "puzzle", "title": "Easy Implementation", "description": "Company provides a robust, custom marketing and communication plan to help drive program awareness and engagement." }, { "iconSlug": "rays", "title": "Ongoing Engagement", "description": "Get metrics around your employees' engagement with the program and workplace impact." }, { "iconSlug": "dollarSign", "title": "Affordable Pricing", "description": "Explore our pricing options for all company sizes, including low, per- employee rates that can be paid out of ERISA budgets." } ], "cta": { "title": "Contact our team", "class": "trigger-emailFormScroll" } } 

这里是Mixin的拉动:

 mixin FeaturesModule(config) h3.lvHeading.lvHeading-size3.lvHeading-main= config.title h5.lvHeading.lvHeading-size5= config.description - if (config.cta && typeof config.cta.newPage === "undefined") { config.cta.newPage = true; } .layout-stdGrid each feature, i in config.featureList .stdGrid-col8.stdGrid-col-thin.padding-2 abbr(class= "icon-mktgLight-" + feature.iconSlug) h6.lvHeading.lvHeading-size5.lvHeading-main!= feature.title span.block= feature.description - if (config.featuredLink) a.link-featured.margin-Y-1.block(href= config.featuredLink.href, name=config.featuredLink.title, target= "_blank")= config.featuredLink.title - else if (config.cta) - if (config.cta.href) a.button.button-wide(href= config.cta.href, target= (config.cta.newPage) ? "_blank" : undefined)= config.cta.title - else - var ctaClass = config.cta.class || ""; button.button.button-wide(class= ctaClass)= config.cta.title 

span.block = feature.description是我目前正在使用的。 使mixin解释break标签的最好方法是什么,所以它不是以文本forms在页面上打印?

提前致谢。

这两个解决scheme将工作

 span.block!=feature.description span.block!{feature.description}