# 투표 내 수식 렌더링

**URL:** https://meta.discourse.org/t/rendering-math-inside-polls/185009
**Category:** Feature
**Tags:** polls, pr-welcome, math
**Created:** [3월 31, 2021, 6:37오후 UTC](https://meta.discourse.org/t/rendering-math-inside-polls/185009 "2021-03-31T18:37:59Z")
**Posts on this page:** 1
**Showing post:** 2

<div class="post-metadata">

### Author: ![cocococosti](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/cocococosti/32/231474_2.png) [@cocococosti](https://meta.discourse.org/u/cocococosti)
#### Post date: [4월 18, 2021, 10:42오후 UTC](https://meta.discourse.org/t/rendering-math-inside-polls/185009/2 "2021-04-18T22:42:18Z")

</div>

저도 이 문제를 해결하지 못했습니다. 버그인 것 같습니다.

투표에 수식 공식을 추가하면 미리보기에서는 올바르게 렌더링됩니다.

 ![Screenshot_2021-04-18 Testing math inside polls - Test - Constanza's Discourse](https://global.discourse-cdn.com/meta/original/3X/a/8/a847d630e615d5b243fee2d94ba83a99c43795ea.png)

하지만 게시물 본문에서는 그렇지 않습니다:

 ![Screenshot_2021-04-18 Testing math inside polls - Test - Constanza's Discourse(1)](https://global.discourse-cdn.com/meta/original/3X/a/2/a21e6cd12f6483760f707c58774e16e6c04c3014.png)

소스 코드를 검사해 보니, 일반적인 경우 수식은 `<span class="math-container inline-math mathjax-math"> ... </span>`으로 렌더링되지만, 투표 안에서는 `<span class="math"> ... </span>`으로 렌더링됩니다. 플러그인이 비활성화된 안전 모드에서 테스트해 보면 모든 수식이 `<span class="math"> ... </span>`으로 렌더링됩니다. 이로 인해 수학 플러그인이 투표 플러그인과 함께 작동하지 않는다고 생각합니다.

대안으로, 수식을 투표 밖에 배치한 뒤 투표 안에서 다음과 같이 참조할 수 있습니다:

 ![Screenshot_2021-04-18 Testing math inside polls - Test - Constanza's Discourse(2)](https://global.discourse-cdn.com/meta/original/3X/3/7/3718b46de6d79efdd7048b46efb680a67f5f6261.png)

---

_[View the full topic](https://meta.discourse.org/t/rendering-math-inside-polls/185009)._
