목차에 html 태그 들어가는 경우 반영.

cks
강석 최 2023-11-17 11:57:14 +09:00
parent 3ec8119c01
commit 58900310ce
1 changed files with 1 additions and 2 deletions

View File

@ -107,8 +107,7 @@ function CodeViewer(props) {
<VwDiv depth={item.cont_level} isTitle={isTitle}> <VwDiv depth={item.cont_level} isTitle={isTitle}>
<VwPtag href="#" isTitle={isTitle} onClick={() => { <VwPtag href="#" isTitle={isTitle} onClick={() => {
document.location.hash="#"+item.cont_type_cd; document.location.hash="#"+item.cont_type_cd;
}}> }} dangerouslySetInnerHTML={ {__html: item.group_title} }>
{item.group_title}
</VwPtag> </VwPtag>
</VwDiv> </VwDiv>
) )