# Disable auto generation of 'p' tags in Landing page

**URL:** https://forum.mautic.org/t/disable-auto-generation-of-p-tags-in-landing-page/2530
**Category:** Product Support
**Created:** [October 17, 2015, 6:02pm UTC](https://forum.mautic.org/t/disable-auto-generation-of-p-tags-in-landing-page/2530 "2015-10-17T18:02:19Z")
**Posts on this page:** 4
**Page:** 1

<div class="post-metadata">

### Author: ![zahedkamal87](https://avatars.discourse-cdn.com/v4/letter/z/f1d935/32.png) [@zahedkamal87](https://forum.mautic.org/u/zahedkamal87)
#### Post date: [October 17, 2015, 6:02pm UTC](https://forum.mautic.org/t/disable-auto-generation-of-p-tags-in-landing-page/2530/1 "2015-10-17T18:02:19Z")

</div>

Here are some codes i’ve in theme - _page.html.php_

Quote:

\<?php if ($view-\>hasContent('ourmission-title')): ?\>  

\<?php $view-\>output('ourmission-title'); ?\>

  
\<?php endif; ?\>

  
Whenever I write some text inside the 'div' from Landing Page builder, It creates 'p' tag automatically, which is messing with the design. In browser i get the above code this way -

Quote:

  

Be Part of Our Mission

  

  
If i use 'div' instead of 'p' tag for the slot **_ourmission-title_**. I still get an extra 'p' tag. Here is the html i get in browser -

Quote:

  

Be Part of Our Mission

  

  
So, my question is- **How can i disable/stop creation of these 'p' tags?**  
  
Thanks in advance for your support.

---

<div class="post-metadata">

### Author: ![zahedkamal87](https://avatars.discourse-cdn.com/v4/letter/z/f1d935/32.png) [@zahedkamal87](https://forum.mautic.org/u/zahedkamal87)
#### Post date: [October 17, 2015, 6:02pm UTC](https://forum.mautic.org/t/disable-auto-generation-of-p-tags-in-landing-page/2530/2 "2015-10-17T18:02:19Z")

</div>

Here are some codes i’ve in theme - page.html.php

[quote]\<?php if ($view['slots']-\>hasContent('ourmission-title')): ?\>

\<?php $view['slots']-\>output('ourmission-title'); ?\>

  
\<?php endif; ?\>[/quote]

Whenever I write some text inside the ‘div’ from Landing Page builder, It creates ‘p’ tag automatically, which is messing with the design. In browser i get the above code this way -

[quote]

Be Part of Our Mission

[/quote]

If i use ‘div’ instead of ‘p’ tag for the slot ourmission-title. I still get an extra ‘p’ tag. Here is the html i get in browser -

[quote]

Be Part of Our Mission

[/quote]

So, my question is- How can i disable/stop creation of these ‘p’ tags?

Thanks in advance for your support.

---

<div class="post-metadata">

### Author: ![escopecz](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mautic.org/escopecz/32/370_2.png) [@escopecz](https://forum.mautic.org/u/escopecz)
#### Post date: [October 19, 2015, 9:59am UTC](https://forum.mautic.org/t/disable-auto-generation-of-p-tags-in-landing-page/2530/3 "2015-10-19T09:59:55Z")

</div>

That’s a “feature” of CK editor which Mautic uses. I’m afraid there is no way to switch the editor off right now. There are few editor related issues right now:

[https://github.com/mautic/mautic/issues?utf8=✓&q=is%3Aissue+is%3Aopen+editor](https://github.com/mautic/mautic/issues?utf8=%E2%9C%93&q=is%3Aissue+is%3Aopen+editor)

Feel free to create a new one if none is related to yours.

---

<div class="post-metadata">

### Author: ![silavapi](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mautic.org/silavapi/32/7424_2.png) [@silavapi](https://forum.mautic.org/u/silavapi)
#### Post date: [February 2, 2020, 10:57pm UTC](https://forum.mautic.org/t/disable-auto-generation-of-p-tags-in-landing-page/2530/4 "2020-02-02T22:57:48Z")

</div>


