Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Line breaks are not or not nicely displayed #464

Closed
PeopleInside opened this issue Sep 9, 2021 · 2 comments
Closed

Line breaks are not or not nicely displayed #464

PeopleInside opened this issue Sep 9, 2021 · 2 comments

Comments

@PeopleInside
Copy link
Contributor

PeopleInside commented Sep 9, 2021

Bug report

My ticket signature are:

<p><br /> <br /><strong>Marco Borla</strong> <br />https://helpdesk.peopleinside.it <br />https://www.peopleinside.it</p>

When I reply to customer ticket all is showed correctly as is showed also on the UVdesk topic from another user here: https://forums.uvdesk.com/topic/1985/1-line-breaks-are-not-or-not-nicely-displayed-2-cryptic-names-in-attachments

When the reply is sent, spaces are not respected and my signature is attached to the reply text that miss all spaces.
The issue is not mail is something in UVdesk

The reply miss text formatting on the web interface and maybe also on emails this means a text like:

Hi, thank you for your message!
Please follow this link: https://link.ext

Thank you

signature

Once posted will be:

Hi, thank you for your message! Please follow this link: https://link.ext Thank you
signature

Terrible, please fix what is also reported in the UVdesk forum: is the same issue and never depends of customer email, my ticket as been created from the web interface.

Demonstration is easy in the demo.
Please look:

Uvdesk bug

tested with Firefox 92.0 but I don't think is an issue related to the browser!

@vipin-shrivastava
Copy link
Contributor

@PeopleInside

This is happening because of a new fix in UVdesk:
we have already fixed this in master & I also provide you the steps to fix this in your helpdesk :

  1. Open Thread.php file from the given below path in your project :
    your_project_name/vendore/uvdesk/core-framework/Controller/Thread.php
  2. After open Thread.php file, Go to line 83 & comment that & also change the line 90 with following code
    'message' => str_replace(['&lt;script&gt;', '&lt;/script&gt;'], '', htmlspecialchars($params['reply'])),

I also added a screenshot after updates of lines
Screenshot_58

Now, you can check your issue is resolved.

If you still facing the same issue please let me know

@PeopleInside
Copy link
Contributor Author

Works, thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants