ActionsParser refactor

I am really worried about this change. Consider:

---

```
+ A
  B
  C
```

+ A
  B
  C


---

```
+ A

  B
  C
```


+ A

  B
  C



---