开发者

When using `Jade`, why is there an extra space added?

开发者 https://www.devze.com 2023-04-04 02:00 出处:网络
div.soldhere-title-large find span.title-equal-span = There is no space after the =, but in my rendered HTML there is. Why does Jade do this and is开发者_StackOverflow there any way to stop it?I
  div.soldhere-title-large
    | find
    span.title-equal-span
      | =

There is no space after the =, but in my rendered HTML there is. Why does Jade do this and is开发者_StackOverflow there any way to stop it?


It looks like to get rid of the space, the content needs to be applied inline:

  div.soldhere-title-large find
    span.title-equal-span =
0

精彩评论

暂无评论...
验证码 换一张
取 消