Do I have to use   for space in Jade?

后端 未结 6 869
挽巷
挽巷 2020-12-17 08:16

I am using Jade and everything is cool except that Jade \"eats\" my spaces.

For example, in HTML:

Hello World
<         


        
6条回答
  •  不思量自难忘°
    2020-12-17 08:43

    This way it will be rendered with space between words:

    b Hello <-- single space at the end
    b world
    

    Or use pipe with single space (no need for 2 spaces)

    b hello
    | <-- single space
    b world
    

提交回复
热议问题