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 in ticket description #1814

Closed
wagneral opened this issue Feb 14, 2017 · 3 comments
Closed

Line breaks in ticket description #1814

wagneral opened this issue Feb 14, 2017 · 3 comments

Comments

@wagneral
Copy link

Dear GLPI team,

after upgrading to the latest Version (9.2.1) we realized that editing the ticket description of an existing ticket (a ticket that was created in an earlier glpi version) leads to non existent line breaks: the line breaks are replaced by 'rn'.

After saving the ticket, instead of showing
This is a
Test

the description shows
This is arnTest

When I look into the database, it's a similar behaviour: the 'rn's are also inserted in the 'content' field of an old ticket, whereas a new ticket entry shows real linebreaks.
id=1 -> old ticket (9.1)
id=2 -> new ticket (9.2.1)

mysql> select id, content from glpi_tickets;
+----+-----------------------------------+
| id | content |
+----+-----------------------------------+
| 1 | TestrnErneuter TestrnDritter Test |
| 2 | Test
Test zwei
Test drei |
+----+-----------------------------------+
2 rows in set (0.00 sec)

Seems not to be a real big deal, but perhaps you can check that.

Thanks in advance

@wagneral
Copy link
Author

wagneral commented Feb 20, 2017

Just realized - If I insert a <br /> manually (instead of pushing the return key) line breaks are stored and shown correctly.

@wagneral
Copy link
Author

Any news relating this issue? Can anyone confirm or disprove this behaviour?

@wagneral
Copy link
Author

Ok, finally I found a useful workaround. I tried activating rich text for helpdesk actions - et voilà: line breaks breaking well ;)

Simply configure in glpi webinterface:
Setup >> General >> All >> Assistance
Use rich text for helpdesk YES

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

1 participant