Jade: Links inside a paragraph

后端 未结 13 1945
野趣味
野趣味 2020-12-07 17:34

I\'m trying to author a few paragraphs with Jade, but finding it difficult when there are links inside a paragraph.

The best I can come up with, and I\'m wondering

13条回答
  •  挽巷
    挽巷 (楼主)
    2020-12-07 17:50

    I had to add a period directly behind a link, like this:

    This is your test [link].

    I solved it like this:

    label(for="eula").lbl.lbl-checkbox.lbl-eula #{i18n.signup.text.accept_eula}
        | #{i18n.signup.links.eula}.
    

提交回复
热议问题