- Edited
Greeting,I want to modify my landing page, adding some <div> and class. I've using <> button on editor, but the tags still stripped. Is there any way to allow some tags?Thanks.
Greeting,I want to modify my landing page, adding some <div> and class. I've using <> button on editor, but the tags still stripped. Is there any way to allow some tags?Thanks.
Search is your friend. This has been talked about a number of times before.Here are the first two results:http://forum.osticket.com/d/discussion//htmlawed-and-cleaning-of-html-code-corrupts-canned-responses-and-replies-to-emailshttp://forum.osticket.com/d/discussion//resolved-embedded-video-and-allowfullscreen
thanks for your response, i have done some research, but can't find clear instruction. i want to allow it on page, but restrict on user editor.
I'm pretty sure its all or nothing.
which file should i edit?
For me, in v1.10 the following worked:diff --git a/include/class.format.php b/include/class.format.phpindex 864bc64..ddf98fd 100644--- a/include/class.format.php+++ b/include/class.format.php@@ -292,7 +292,7 @@ class Format { 'balance' => 1, // Decoding special html char like < and > which // can be used to skip cleaning- 'decode' => true+ 'decode' => false ), $options);