# Discourse-math not working on imported / migrated posts

**URL:** https://meta.discourse.org/t/discourse-math-not-working-on-imported-migrated-posts/108672
**Category:** Support
**Created:** [February 8, 2019, 10:45am UTC](https://meta.discourse.org/t/discourse-math-not-working-on-imported-migrated-posts/108672 "2019-02-08T10:45:05Z")
**Posts on this page:** 7
**Page:** 1

<div class="post-metadata">

### Author: ![Alfarhan\_Zahedi](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/alfarhan_zahedi/32/141591_2.png) [@Alfarhan\_Zahedi](https://meta.discourse.org/u/Alfarhan_Zahedi)
#### Post date: [February 8, 2019, 10:45am UTC](https://meta.discourse.org/t/discourse-math-not-working-on-imported-migrated-posts/108672/1 "2019-02-08T10:45:05Z")

</div>

I installed the plugin discourse-math and activated it from the admin panel. But, MathJax does not render the imported posts (imported from OSQA) correctly.

However, if I edit the post (just clicking on ‘edit’ and not changing a thing) and save it, the math is rendered perfectly.

Can anyone help me in rectifying this behaviour ?

---

<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: [February 8, 2019, 11:46am UTC](https://meta.discourse.org/t/discourse-math-not-working-on-imported-migrated-posts/108672/2 "2019-02-08T11:46:50Z")

</div>

Give the exact URL of the plugin you used, please?

---

<div class="post-metadata">

### Author: ![Alfarhan\_Zahedi](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/alfarhan_zahedi/32/141591_2.png) [@Alfarhan\_Zahedi](https://meta.discourse.org/u/Alfarhan_Zahedi)
#### Post date: [February 8, 2019, 11:47am UTC](https://meta.discourse.org/t/discourse-math-not-working-on-imported-migrated-posts/108672/3 "2019-02-08T11:47:42Z")

</div>

[https://github.com/discourse/discourse-math](https://github.com/discourse/discourse-math)

---

<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: [February 8, 2019, 11:54am UTC](https://meta.discourse.org/t/discourse-math-not-working-on-imported-migrated-posts/108672/4 "2019-02-08T11:54:06Z")

</div>

> [@Alfarhan\_Zahedi](#):
>
> does not render the imported posts **imported from OSQA** correctly.
> 
> However, if I edit the post (just clicking on ‘edit’ and not changing a thing) and save it, the math is rendered perfectly.

Sounds like you need to rebake all posts.

---

<div class="post-metadata">

### Author: ![Alfarhan\_Zahedi](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/alfarhan_zahedi/32/141591_2.png) [@Alfarhan\_Zahedi](https://meta.discourse.org/u/Alfarhan_Zahedi)
#### Post date: [February 8, 2019, 11:59am UTC](https://meta.discourse.org/t/discourse-math-not-working-on-imported-migrated-posts/108672/5 "2019-02-08T11:59:56Z")

</div>

Thanks!. I will try it and let you know here.

---

<div class="post-metadata">

### Author: ![Alfarhan\_Zahedi](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/alfarhan_zahedi/32/141591_2.png) [@Alfarhan\_Zahedi](https://meta.discourse.org/u/Alfarhan_Zahedi)
#### Post date: [February 8, 2019, 1:41pm UTC](https://meta.discourse.org/t/discourse-math-not-working-on-imported-migrated-posts/108672/6 "2019-02-08T13:41:55Z")

</div>

It worked. Thank you!

---

<div class="post-metadata">

### Author: ![system](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/system/32/443519_2.png) [@system](https://meta.discourse.org/u/system)
#### Post date: [March 10, 2019, 1:42pm UTC](https://meta.discourse.org/t/discourse-math-not-working-on-imported-migrated-posts/108672/7 "2019-03-10T13:42:10Z")

</div>

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.
