# \[BUG\] Empty line breaks into two response messages

**URL:** <https://forum.rasa.com/t/bug-empty-line-breaks-into-two-response-messages/42478>\
**Category:** Rasa Open Source\
**Created:** [April 15, 2021, 1:50pm UTC](https://forum.rasa.com/t/bug-empty-line-breaks-into-two-response-messages/42478 "2021-04-15T13:50:36Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![mbukovy](https://dub1.discourse-cdn.com/flex013/user_avatar/forum.rasa.com/mbukovy/32/11347_2.png) [@mbukovy](https://forum.rasa.com/u/mbukovy)\
**Post date:** [April 15, 2021, 1:50pm UTC](https://forum.rasa.com/t/bug-empty-line-breaks-into-two-response-messages/42478/1 "2021-04-15T13:50:36Z")

</div>

Hello,

when we use two newlines in our yaml file, it breaks the response into two messages. Example:

```auto
 utter_test_newlines:
  - text: |-
      Hey man
      Druhý riadok

      Štvrtý riadok

```

This will produce two responses `Hay man\nDruhý riadok` and `Štvrtý riadok`, see the image (the same on callback channel)

 ![image](https://europe1.discourse-cdn.com/flex013/uploads/rasa/original/2X/5/59c2e88e7b9229707169035dba05523556fe522f.png)

Please, how can we preserve newlines and keep it in one response message only?

---

<div class="post-metadata">

**Author:** ![Dustyposa](https://dub1.discourse-cdn.com/flex013/user_avatar/forum.rasa.com/dustyposa/32/13745_2.png) [@Dustyposa](https://forum.rasa.com/u/Dustyposa)\
**Post date:** [April 16, 2021, 2:53am UTC](https://forum.rasa.com/t/bug-empty-line-breaks-into-two-response-messages/42478/2 "2021-04-16T02:53:23Z")

</div>

I can’t make sure this is a bug. But to do that. you expected, you can try. this way:

```auto
 utter_test_newlines:
  - text: "Hey man\nDruhý riadok\n\nŠtvrtý riadok"

```

---

<div class="post-metadata">

**Author:** ![mbukovy](https://dub1.discourse-cdn.com/flex013/user_avatar/forum.rasa.com/mbukovy/32/11347_2.png) [@mbukovy](https://forum.rasa.com/u/mbukovy)\
**Post date:** [April 17, 2021, 4:47pm UTC](https://forum.rasa.com/t/bug-empty-line-breaks-into-two-response-messages/42478/3 "2021-04-17T16:47:40Z")

</div>

Need to add, that we use php yaml\_emit function [PHP: yaml\_emit - Manual](https://www.php.net/manual/en/function.yaml-emit.php) So it’s not very convenient to adjust the yaml format.

---

<div class="post-metadata">

**Author:** ![teremterem](https://dub1.discourse-cdn.com/flex013/user_avatar/forum.rasa.com/teremterem/32/16484_2.png) [@teremterem](https://forum.rasa.com/u/teremterem)\
**Post date:** [April 29, 2021, 6:40am UTC](https://forum.rasa.com/t/bug-empty-line-breaks-into-two-response-messages/42478/4 "2021-04-29T06:40:40Z")

</div>

Hi, I have found a way to do it:

> <https://github.com/RasaHQ/rasa/issues/4895#issuecomment-828665079>
>
> Rasa version: rasa==1.4.3
> Rasa SDK version (if used & relevant): rasa-sdk==1.4.0
> Python version: 3.6.8
> Operating system (windows, osx, ...): ubuntu 18.04, linux
> Issue:
> I have text...
