最近用jade模板引擎编写html时发现input编译输出为<input>,而我想要的效果为<input/>, 如何解决呢,这时我们可以这样写: input/ ---> <input/> 转载于:https://www.cnblogs.com/alex-xxc/p/10704963.html