Backslashes in single quoted strings vs. double quoted strings

前端 未结 6 1912
挽巷
挽巷 2020-11-29 07:09

If I add a backslash+space to the start of double and single quoted strings, I get different results:

\"\\ text\"
\'\\ text\' 

In the outpu

6条回答
  •  刺人心
    刺人心 (楼主)
    2020-11-29 07:48

    you can make <%= f.label :nom_entreprise, "Nom de l'entreprise" %>

提交回复
热议问题