# 달러 기호 두 개를 입력하면 미리보기가 작동하지 않습니다

**URL:** https://meta.discourse.org/t/preview-stops-working-after-typing-two-dollar-signs/187600
**Category:** Bug
**Tags:** math
**Created:** [4월 21, 2021, 9:52오전 UTC](https://meta.discourse.org/t/preview-stops-working-after-typing-two-dollar-signs/187600 "2021-04-21T09:52:49Z")
**Posts on this page:** 4
**Page:** 1

<div class="post-metadata">

### Author: ![Balazs\_Endresz](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/balazs_endresz/32/200140_2.png) [@Balazs\_Endresz](https://meta.discourse.org/u/Balazs_Endresz)
#### Post date: [4월 21, 2021, 9:52오전 UTC](https://meta.discourse.org/t/preview-stops-working-after-typing-two-dollar-signs/187600/1 "2021-04-21T09:52:49Z")

</div>

댓글을 `$$`로 시작하면, 그 이후로 미리보기가 비어 보이기 시작합니다. `$$`를 삭제해도 마찬가지입니다. 개발자 도구에서도 오류가 표시됩니다:

`Uncaught DOMException: Failed to execute 'removeChild' on 'Node': The node to be removed is not a child of this node.`

이 문제는 제가 시도해 본 모든 인스턴스에서 발생하며, 예를 들어 [https://forum.image.sc/에서도](https://forum.image.sc/%EC%97%90%EC%84%9C%EB%8F%84) 마찬가지입니다. 하지만 여기서는 왜인지 발생하지 않습니다.

---

<div class="post-metadata">

### Author: ![ChrisLombardi](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/chrislombardi/32/197110_2.png) [@ChrisLombardi](https://meta.discourse.org/u/ChrisLombardi)
#### Post date: [4월 21, 2021, 9:46오후 UTC](https://meta.discourse.org/t/preview-stops-working-after-typing-two-dollar-signs/187600/2 "2021-04-21T21:46:32Z")

</div>

이것이 “discourse-math” 플러그인이 활성화된 상태에서 발생한다는 점에 유의하세요.

---

<div class="post-metadata">

### Author: ![sam](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/sam/32/102149_2.png) [@sam](https://meta.discourse.org/u/sam)
#### Post date: [4월 22, 2021, 1:32오전 UTC](https://meta.discourse.org/t/preview-stops-working-after-typing-two-dollar-signs/187600/3 "2021-04-22T01:32:00Z")

</div>

좋습니다, 다음 커밋에 따라 수정 사항을 push했습니다:

> <https://github.com/discourse/discourse-math/commit/152a7b5c60f7f86129709f86278169fdf990f376>
>
> Previously we would remove elements from the DOM, this caused Ember to
> get extre…mely confused and blow up its rendering.
> 
> Instead only hide the element, do not remove it.

당사의 호스팅 환경에서는 향후 며칠 안에 배포될 것으로 예상됩니다.

---

<div class="post-metadata">

### Author: ![codinghorror](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/codinghorror/32/110067_2.png) [@codinghorror](https://meta.discourse.org/u/codinghorror)
#### Post date: [4월 24, 2021, 8:00오전 UTC](https://meta.discourse.org/t/preview-stops-working-after-typing-two-dollar-signs/187600/4 "2021-04-24T08:00:42Z")

</div>

이 주제는 2일 후 자동으로 닫혔습니다. 더 이상 새 답변을 남길 수 없습니다.
