H

이미지 저장을 하면 자동으로 뒤에 / 이 붙어버립니다.

게시판에서 cheditor5 로 사용하여 이미지 저장 후

태그를 보면 아래와 같이 맨 뒤에 / 가 붙습니다.

<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=""/> 이렇게쓰죠 보통
http://validator.w3.org/ 으로 웹표준/웹접근성 검사시 그 부분이 오류로 나와서 그렇습니다. 해결 방법이 있나요?
태그 닫기를 써서 validator에 걸리셨다니 조금 의문인데요 ;;
제가 잘못 알고 있는 걸까요? 아래와 같이 검사 결과가 나왔는데 어떻게 해야 하나요?
/ 를 빼면 문제없이 통과되구요...

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.
문서선언을 스트릭으로 하셨나요? DTD가 stric이나 html 이신거 같은데
댓글을 작성하시려면 로그인이 필요합니다.

그누4 질문답변

그누보드4 관련 질문은 QA 로 이전됩니다. QA 그누보드4 바로가기 기존 게시물은 열람만 가능합니다.

+
제목 글쓴이 날짜 조회
13년 전 조회 1,547
13년 전 조회 1,136
13년 전 조회 2,207
13년 전 조회 996
13년 전 조회 1,598
13년 전 조회 760
13년 전 조회 2,542
13년 전 조회 961
13년 전 조회 757
13년 전 조회 1,483
13년 전 조회 548
13년 전 조회 1,156
13년 전 조회 1,497
13년 전 조회 1,586
13년 전 조회 768
13년 전 조회 783
13년 전 조회 731
13년 전 조회 820
13년 전 조회 1,615
13년 전 조회 997