As it says on the tin, we have a custom form where we list approved work. its converting the <br> string to $nbsp; and I want to be able to shut off that functionality. If I can make the change myself for now I would but I do need this to work asap as its a production issue.
RyanfromTomsHelpDesk
It strips HTML and only displays the text content in the Ticket header; otherwise it would mess up the Ticket view. You can click the content in the header to see the full, rendered content.
Cheers.
KevinTheJedi
Fair enough,
But say on a limb I don't care about it messing up or I deal with it on my own. what php/js file controls this that I could edit it to not do that? The way we've used it and the way we had it in a previous version was we would add approved work to a new line to help clean it up in the ticket view. as an alternative is there a dynamic way to add additional separate short answers to form's without going nuts and adding a ton of additional fields?
It's more complex than just editing a file. You will need to modify a couple of them to fix the inline-edit stuff, etc. The code is open source and available on Github for you to review. You can look at previous commits where the functionality was added/changed and attempt to revert it.
I would also like to note from your screenshot you are running PHP 8.2.x. osTicket does not support that version of PHP at this time. Please downgrade to 8.1 or 8.0.