# Proper text formating for html data?

**URL:** https://meta.discourse.org/t/proper-text-formating-for-html-data/175341
**Category:** Support
**Created:** [January 7, 2021, 3:17am UTC](https://meta.discourse.org/t/proper-text-formating-for-html-data/175341 "2021-01-07T03:17:13Z")
**Posts on this page:** 2
**Page:** 1

<div class="post-metadata">

### Author: ![mindeswx](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/mindeswx/32/205350_2.png) [@mindeswx](https://meta.discourse.org/u/mindeswx)
#### Post date: [January 7, 2021, 3:17am UTC](https://meta.discourse.org/t/proper-text-formating-for-html-data/175341/1 "2021-01-07T03:17:13Z")

</div>

Hello, and first of all just wanted to say I’m loving discourse, the ease of use and functionality is just amazing!  
Just came to one roadblock I’m unable to solve trying to transfer from our old forum.  
The issue -

When creating a new topic/post api is sometimes returning “error 400 - bad request”  
I have noticed it’s usually happening when there is a " sign at the very begining.

```
{
  "title": "title",
  "raw": "messagetext",
  "category": 1,
  "skip_validations": "true",
  "target_recipients": "",
  "archetype": "regular",
  "created_at": "time"
}

```

**This is one of the messages I am unable to post-**

`getting featured in a website was pretty cool ! <BR /><A href=""http://www.palletspro.com/wood-pallet-tv-stand-entertainment-center/"">http://www.palletspro.com/wood-pallet-tv-stand-entertainment-center/</A><BR /><A href=""http://www.palletspro.com/diy-wooden-pallet-kitchen-island/"">http://www.palletspro.com/diy-wooden-pallet-kitchen-island/</A>"`

I guess what I’m asking is - how should the “raw” text be formated properly? How it’s called? Thank you and have a great day!

---

<div class="post-metadata">

### Author: ![omarfilip](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/omarfilip/32/208019_2.png) [@omarfilip](https://meta.discourse.org/u/omarfilip)
#### Post date: [January 7, 2021, 3:53am UTC](https://meta.discourse.org/t/proper-text-formating-for-html-data/175341/2 "2021-01-07T03:53:20Z")

</div>

> [@mindeswx](#):
>
> How it’s called?

Discourse uses Markdown-it.

> [@Developer's guide to Markdown extensions](https://meta.discourse.org/t/developers-guide-to-markdown-extensions/66023):
>
> Discourse uses a Markdown engine called [Markdown-it](https://github.com/markdown-it/markdown-it). Here are some dev notes that will help you either fix bugs in core or create your new plugins. The Basics Discourse only contains a few helpers on top of the engine, so the vast majority of learning that needs to be done, is understanding Markdown It. The [docs directory](https://github.com/markdown-it/markdown-it/tree/master/docs) contains the current documentation. I strongly recommend reading: The [architecture document](https://github.com/markdown-it/markdown-it/blob/master/docs/architecture.md) to understand at a top level how the engine works. [Development](https://github.com/markdown-it/markdown-it/blob/master/docs/development.md) for basic d…
