Formatting problem with having an Apostrophe in last name

Moderator: crythias

Locked
pdragovich
Znuny newbie
Posts: 11
Joined: 10 May 2012, 21:49
Znuny Version: 3.1.3
Real Name: Paul
Company: BIG

Formatting problem with having an Apostrophe in last name

Post by pdragovich »

I have run into an issue with a customer's lastname includes an apostrophe so when I try and use premade responses it changes the setting to plain text with all the raw code displayed. Is there a way for the system to recognize the apostrophe in the lastname and not as a comment character?
CSL
Znuny expert
Posts: 159
Joined: 11 Nov 2011, 19:27
Znuny Version: 3.0.11

Re: Formatting problem with having an Apostrophe in last nam

Post by CSL »

Try to escape it? Put a backslash in front of the apostrophe:

So Name's becomes Name\'s
Backend: OTRS 3.0.11 RedHat Enterprise Linux 6.2, Apache, MySQL with replication
Frontend: OTRS 3.0.11 RedHat Enterprise Linux 6.2 with SELinux, Apache SSL
Locked