-
Notifications
You must be signed in to change notification settings - Fork 4
Open
Description
이전의 댓글 시스템에서 새로운 댓글/방명록으로 변경하려고 했습니다만, 문제가 발생하는 군요. 글에서 새로운 댓글 시스템을 구현하기 위해 [##_comment_group_##]
를 사용하여 다음과 같이 작성하면 댓글이 아닌 방명록이 로드됩니다.
<s_article_rep>
<s_permalink_article_rep>
<s_rp>
[##_comment_group_##]
</s_rp>
</s_permalink_article_rep>
</s_article_rep>
여러 시도를 해보니 본문을 출력하는 치환자인 [##_article_rep_desc_##]
를 추가하면 댓글로 바뀌게되는데요.
<s_article_rep>
<s_permalink_article_rep>
<article>[##_article_rep_desc_##]</article>
<s_rp>
[##_comment_group_##]
</s_rp>
</s_permalink_article_rep>
</s_article_rep>
[##_comment_group_##]
가 [##_article_rep_desc_##]
에 의존하여 동작하는 것 같은데, 결국 [##_comment_group_##]
는 단독으로 동작할 수 없는 치환자라는 것을 뜻하겠죠. 제 스킨에서는 본문을 전처리하기 때문에 [##_article_rep_desc_##]
를 <template>
에 감싸서 한 박자 늦게 렌더링하게 되는데, 이 때문에 댓글 컴포넌트가 인지하지 못하는 것 같네요. 치명적인 버그라고는 볼 수 없겠지만, [##_comment_group_##]
가 단독으로 동작하지 못하는 것은 개선해야 할 사항이라고 생각됩니다.
Metadata
Metadata
Assignees
Labels
No labels