What if the text that the user inputs is like,
In that case that will display:This was a really "nice" party. Get it?
which looks wrong. Isn't there a way to allow the user using single and double quotes in his input but protecting from injection at the same time?This was a really \"nice\" party. Get it?