# HTML-tags opschonen in alle posts na migratie?

**URL:** <https://meta.discourse.org/t/clean-up-html-tags-in-all-posts-after-migration/172094>\
**Category:** Migration\
**Tags:** flarum\
**Created:** [3 december 2020 om 10:28 UTC](https://meta.discourse.org/t/clean-up-html-tags-in-all-posts-after-migration/172094 "2020-12-03T10:28:58Z")\
**Posts on this page:** 1\
**Showing post:** 1

<div class="post-metadata">

**Author:** ![koen360](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/koen360/32/194302_2.png) [@koen360](https://meta.discourse.org/u/koen360)\
**Post date:** [3 december 2020 om 10:28 UTC](https://meta.discourse.org/t/clean-up-html-tags-in-all-posts-after-migration/172094/1 "2020-12-03T10:28:58Z")

</div>

Hi as mentioned in [Makeshift but working flarum import script](https://meta.discourse.org/t/makeshift-but-working-flarum-import-script/170080) I have migrated from Flarum to Discourse. My first site and totally digging your work, kudos to you all.

Something that at first glance in dev seemed to be just fine was the way the posts were all migrated. In the browser most look fine but underwater there are a lot of legacy html tags that do break things in loading pictures and importing them to local storage and so on.

Is there a smart way to remove the html mark-up post migration of all the posts?  
Other question, I also need to correct lots of urls from http to https.

Thanks for your help. By the way the makeshift script that I provided should definitely be amended to take better care of processing the posts to the Discourse post format (not in my skillset)…

---

_[View the full topic](https://meta.discourse.org/t/clean-up-html-tags-in-all-posts-after-migration/172094)._
