이미지 저장을 하면 자동으로 뒤에 / 이 붙어버립니다.
게시판에서 cheditor5 로 사용하여 이미지 저장 후
태그를 보면 아래와 같이 맨 뒤에 / 가 붙습니다.
<img width="743" height="583" style="border: currentColor" alt="1-3-12.jpg" src="data/cheditor4/1212/1494e1ee98e16550eab1b22ea54a6e1f_cRW29oYt7kur.jpg" />
/가 안붙게 하려고 하는데 방법이 있을까요?
태그를 보면 아래와 같이 맨 뒤에 / 가 붙습니다.
<img width="743" height="583" style="border: currentColor" alt="1-3-12.jpg" src="data/cheditor4/1212/1494e1ee98e16550eab1b22ea54a6e1f_cRW29oYt7kur.jpg" />
/가 안붙게 하려고 하는데 방법이 있을까요?
|
댓글을 작성하시려면 로그인이 필요합니다.
댓글 7개
ㅎㅎ
원래 모든태그는 <img src=""></img> 처럼 쓰는겁니다.. 그냥 단순화시켜서 <img src=""/> 이렇게쓰죠 보통
/ 를 빼면 문제없이 통과되구요...
Line 373, Column 66: NET-enabling start-tag requires SHORTTAG YES <h3><img alt="공지사항" src="../g4_images/subtitle11.gif" /></h3>
✉
For the current document, the validator interprets strings like <FOO /> according to legacy rules that break the expectations of most authors and thus cause confusing warnings and error messages from the validator. This interpretation is triggered by HTML 4 documents or other SGML-based HTML documents. To avoid the messages, simply remove the "/" character in such contexts. NB: If you expect <FOO /> to be interpreted as an XML-compatible "self-closing" tag, then you need to use XHTML or HTML5.
This warning and related errors may also be caused by an unquoted attribute value containing one or more "/". Example: <a href=http://w3c.org>W3C</a>. In such cases, the solution is to put quotation marks around the value.