When using a schema in a JSON response, the `\n` was removed.

#10
by LucienShui - opened

Input

html = "<html><div><p>Hello</p><p>World!</p></div></html>"

Output

```json
{
  "title": "Hello World!",
  "author": "Unknown",
  "date": "Unknown",
  "content": "Hello World!"
}
```

Expected

```json
{
  "title": "Hello World!",
  "author": "Unknown",
  "date": "Unknown",
  "content": "Hello\nWorld!"
}
```

Is there any way to achieve this in a single response instead of making two calls?

Sign up or log in to comment