Jump to content

Adding A Blank Line To Text Signature - Removed On Saving


Alk

Recommended Posts

If I have a signature that I want to add a blank line to at the beginning, ie:

 

 

----

My signature here

 

I can do this on the HTML signature, but when I put a blank line at the beginning on the Text signature, it is removed when I click on save.

So to get 1 blank line to save, I have to enter 2 blank lines at the beginning on the text signature, ie:

 

On the text signature I have to enter:

 

 

 

---

My signature here

 

To get this to save:

 

 

---

My signature here

 

Link to comment
Share on other sites

As Licensecart mentioned, this isn't a bug with Blesta. This is how your browser renders textareas--it removes both the first and last line break.

 

This is so that you can write something like the following in HTML:

<textarea name="input">
This sentence has a line break before and after it, which are both automatically removed by the browser.
</textarea>

..and it will display it as one line, which is identical to:

<textarea name="input">This sentence has no line breaks</textarea>

The work-around, as you already discovered, is to use two line-breaks at the beginning or at the end of your text in the textarea, which will display one line-break before or after the text, respectively.

 

I'll close this thread as not a bug.

Link to comment
Share on other sites

Guest
This topic is now closed to further replies.
×
×
  • Create New...