【发布时间】:2016-04-08 14:01:08
【问题描述】:
我正在尝试从 scalatags 生成以下 HTML:
<h3>There were orders found in <a href="#somewhere">somewhere </a> and <a href="#somewhereelse">somewhere else </a> </h3>
到目前为止,我在 scalatags 中使用以下内容的尝试没有奏效:
h3("There were orders found in" + a(href:="#somewhere")("somewhere") + "and" + a(href:="#somewhereelse")("somewhere else"))
【问题讨论】:
-
您遇到什么错误?你为什么使用柯里化?