Jump to content

BUG: HTML formatting for Customer Notes


Recommended Posts

Hello,

 

Just wanted to report another bug with Customer Notes. I have reported similar bug before but it was not addressed by anyone.

 

The problem is that when viewing notes, they have PHP word-wrapping on them. This means that if you're using a smaller browser window, the multiple lines in a customer note will appear broken (exactly like e-mail forwarding in Outlook or AOL back).

 

The second problem is if you want to make a new paragraph in the customer note (i.e. hit Enter twice), when viewing the note it does not even show the new line... it just takes the whole note and shows it as a single paragraph. See attached image below for a visual.

 

whmcs-bug-customer-notes-1.jpg

 

The fix is pretty easy for both issues. For problem 1, just ommit the word-wrapping on the PHP side. For problem 2, parse the customer notes with nl2br() function on the PHP side before displaying.

 

Can someone tell me if these PHP files are editable or encoded?

 

Thanks.

Link to comment
Share on other sites

  • 3 weeks later...

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use & Guidelines and understand your posts will initially be pre-moderated