How to Remove Backslash From ExpressionEngine
The ExpressionEngine hosting and CMS (Content Management Service) sometimes places backslashes next to quotation marks when you save your code. This isn’t technically a bug, though; it’s just that ExpressionEngine does not recognize quotation marks as text. It sees them as HTML code, even when you don’t mean them as such, and adds the backslashes to “fix” the code. The solution is simple: replace the quotation marks with their HTML equivalent. This indicates to ExpressionEngine that these should be displayed as quotation marks and will eliminate the backslashes.
Instructions
-
-
1
Open your ExpressionEngine HTML code.
-
2
Replace all double quotes (“) with the following HTML equivalent: "
-
-
3
Replace all single quotes (‘) with the following HTML equivalent: '
-
4
Save the HTML. It may look goofy now, but when it goes on your website, the quotation marks will appear correctly.
-
1