상품등록 에서 상세성명 html 소스 넣으면 안되는 건가요?

상품등록 에서 상세성명 html 소스 넣으면 안되는 건가요?

QA

상품등록 에서 상세성명 html 소스 넣으면 안되는 건가요?

본문

안녕하세요 혹시

상품등록 > 상품설명 란에 html 소스를 넣으면 그냥 글만 나오는대 워낙 그런건가요?

786c4c77f5b1987a2067e2949e942a7c_1491804019_5326.png
상기처럼 관리자 페이지에서 보이긴 한는대 막상 본 페이지에 가면

아래와 같이 나오는데 이건 무슨 이유일까요?

786c4c77f5b1987a2067e2949e942a7c_1491804077_6755.png

 

소느는 아래와 같습니다

 

<style>
html, body {
  font-size: 20px;
}

html {
  box-sizing: border-box;
}

*, *:before, *:after {
  box-sizing: border-box;
}

body {
  padding: 40px;
  margin: 0;
  line-height: 1.5;
  background-color: #333;
  font-family: Roboto, Helvetica, Arial, sans-serif;
  color: #333;
}

h1 {
  margin-top: 0;
  line-height: 1.25;
  text-align: center;
  font-family: "Roboto Slab", Times, "Times New Roman", serif;
  color: white;
}

/* highlight colors */
::-moz-selection {
  background-color: #333;
  color: white;
}

::selection {
  background-color: #333;
  color: white;
}

/* wrapper */
.wrapper {
  max-width: 70ch;
  padding-right: 10px;
  padding-left: 10px;
  margin-right: auto;
  margin-left: auto;
}

/* tabs */
.tabs {
  border-right: 1px solid #ccc;
}
.tabs:after {
  content: "";
  display: table;
  clear: both;
}
.tabs input[type=radio] {
  display: none;
}
.tabs label {
  display: block;
  float: left;
  width: 33.33333%;
  padding: 1em;
  border: 1px solid #ccc;
  border-right: none;
  background-color: #f7f7f7;
  text-align: center;
  font-weight: 700;
  color: coral;
  cursor: pointer;
  -webkit-transition: background-color 150ms ease-in-out;
  transition: background-color 150ms ease-in-out;
}
.tabs label:hover {
  background-color: white;
}
.tabs [id^="tab"]:checked + label {
  border-bottom-color: white;
  background: white;
  color: #333;
}

.tab-content {
  display: none;
  float: left;
  width: 100%;
  padding: 1em;
  border-bottom: 1px solid #ccc;
  border-left: 1px solid #ccc;
  background-color: white;
}

#tab1:checked ~ #tab-content1,
#tab2:checked ~ #tab-content2,
#tab3:checked ~ #tab-content3 {
  display: block;
}

.other-content {
  color: white;
}

@media only screen and (max-width: 768px) {
  body, html {
    font-size: 18px;
  }
}
@media only screen and (max-width: 645px) {
  .tabs label {
    float: none;
    width: 100%;
  }
}
@media only screen and (max-width: 480px) {
  body, html {
    font-size: 16px;
  }
}

</style>

 

<div class="wrapper">
 <h1>Pure CSS Tabs</h1>
 <div class="tabs cf">
  <input name="tabs" id="tab1" type="radio" checked="">
  <label for="tab1">
        Description
      </label>
  <input name="tabs" id="tab2" type="radio">
  <label for="tab2">
        Features
      </label>
  <input name="tabs" id="tab3" type="radio">
  <label for="tab3">
        Delivery & returns
      </label>

  <div class="tab-content" id="tab-content1">
   텝1
  </div>
  <div class="tab-content" id="tab-content2">
  텝2
  </div>
  <div class="tab-content" id="tab-content3">
  텝3
  </div>
 </div>


 <div class="other-content">
  <p>
   Lorem ipsum dolor sit amet, ne duo urbanitas eloquentiam consectetuer, vel et stet complectitur intellegebat.
  </p>
 </div>
</div>

 


이런식으로 입력을 해서 텝부분에 추가 필드를 넣어볼려구요

감사합니다
 

이 질문에 댓글 쓰기 :

답변 3

보통 이런문제면 스킨이 문제더군요.. 

 

스킨 파일에서 html 표시 기능이 있는지 확인해보세요

 

htmlspecialchar() 으로 표시되는 부분이 있을겁니다.

답변을 작성하시기 전에 로그인 해주세요.
전체 0 | RSS
QA 내용 검색
  • 개별 목록 구성 제목 답변작성자조회작성일
  • 질문이 없습니다.

회원로그인

(주)에스아이알소프트 / 대표:홍석명 / (06211) 서울특별시 강남구 역삼동 707-34 한신인터밸리24 서관 1404호 / E-Mail: admin@sir.kr
사업자등록번호: 217-81-36347 / 통신판매업신고번호:2014-서울강남-02098호 / 개인정보보호책임자:김민섭(minsup@sir.kr)
© SIRSOFT