# Inline elements should not be given a new line with code reformatting

**URL:** <https://forum.pinegrow.com/t/inline-elements-should-not-be-given-a-new-line-with-code-reformatting/2963>\
**Category:** Bug Reports\
**Created:** [April 30, 2019, 3:02am UTC](https://forum.pinegrow.com/t/inline-elements-should-not-be-given-a-new-line-with-code-reformatting/2963 "2019-04-30T03:02:47Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![Kal](https://avatars.discourse-cdn.com/v4/letter/k/9de053/32.png) [@Kal](https://forum.pinegrow.com/u/Kal)\
**Post date:** [April 30, 2019, 3:02am UTC](https://forum.pinegrow.com/t/inline-elements-should-not-be-given-a-new-line-with-code-reformatting/2963/1 "2019-04-30T03:02:47Z")

</div>

Inline elements like `<strong>` should never be given a newline when Pinegrow reformats code, as this introduces unwanted whitespace into the text.

---

<div class="post-metadata">

**Author:** ![Printninja](https://yyz2.discourse-cdn.com/flex036/user_avatar/forum.pinegrow.com/printninja/32/1181_2.png) [@Printninja](https://forum.pinegrow.com/u/Printninja)\
**Post date:** [May 1, 2019, 4:05am UTC](https://forum.pinegrow.com/t/inline-elements-should-not-be-given-a-new-line-with-code-reformatting/2963/2 "2019-05-01T04:05:46Z")

</div>

You can disable Pinegrow’s HTML auto-formatting in the settings menu under Support \> Settings

---

<div class="post-metadata">

**Author:** ![Kal](https://avatars.discourse-cdn.com/v4/letter/k/9de053/32.png) [@Kal](https://forum.pinegrow.com/u/Kal)\
**Post date:** [May 1, 2019, 4:09am UTC](https://forum.pinegrow.com/t/inline-elements-should-not-be-given-a-new-line-with-code-reformatting/2963/3 "2019-05-01T04:09:14Z")

</div>

Yes, I ended up doing that. Still, it’s a bug as I see it that the devs might want to fix.

---

<div class="post-metadata">

**Author:** ![Printninja](https://yyz2.discourse-cdn.com/flex036/user_avatar/forum.pinegrow.com/printninja/32/1181_2.png) [@Printninja](https://forum.pinegrow.com/u/Printninja)\
**Post date:** [May 1, 2019, 4:58am UTC](https://forum.pinegrow.com/t/inline-elements-should-not-be-given-a-new-line-with-code-reformatting/2963/4 "2019-05-01T04:58:06Z")

</div>

What are you doing when this happens. I tried dragging the strong element both on to the page and into the tree, and in neither case did it create a new line in the code. I even saved the page and reopened it, and the `<strong>` element stayed in the same place I put it.

---

<div class="post-metadata">

**Author:** ![Kal](https://avatars.discourse-cdn.com/v4/letter/k/9de053/32.png) [@Kal](https://forum.pinegrow.com/u/Kal)\
**Post date:** [May 9, 2019, 5:03am UTC](https://forum.pinegrow.com/t/inline-elements-should-not-be-given-a-new-line-with-code-reformatting/2963/5 "2019-05-09T05:03:08Z")

</div>

I’m seeing it within `<li>` list items. (It doesn’t seem to happen within a `<p>`.)
