mipengine / mip

[Deprecated] 请查看 mip2
https://www.mipengine.org/
MIT License
380 stars 81 forks source link

MIP Validator 校验问题 mip-form'的子级标签 和 body验证 #336

Open SMALL- opened 6 years ago

SMALL- commented 6 years ago

BUG 描述 1、文章内容出现了html代码 比如 和 就不能校验通过 2、mip-form 的子级 `

Sign-up form

    <p>This is the basic look of my form without table</p>
    <label>Name
       <span>Add your name</span>
   </label>
   <input type=”text” name=”name” id=”name” />
   <label>Email
        <span>Add a valid address</span>
   </label>
   <input type=”text” name=”email” id=”email” />
   <label>Password
        <span>Min. size 6 chars</span>
   </label>
   <input type=”text” name=”password” id=”password” />
   <button type=”submit”>Sign-up</button>
</mip-form>`

代码入上 提示:“标签'input'只能是标签'mip-form'的子级标签”,然后把前面的html删掉效验就通过了 复现步骤 重新复现 Bug 的步骤 https://www.mipengine.org/validator/preview 校验http://dedecms.90zs.net/mip/view.php?aid=29

期望结果 解决两个问题

其他信息 其他补充信息