Re: Inserting code removes all "code"
"Cloutier, Philippe (DGARI-Consultant)" <Philippe.Cloutier.externe-3LJ5X92lM5eafr9EPe0ZzS/[email protected]>
| Newsgroups | gmane.comp.cms.tiki.user |
|---|---|
| Message-ID | <YQXPR01MB312530BEBDE184F7DCAD40BA903E0@YQXPR01MB3125.CANPRD01.PROD.OUTLOOK.COM> |
Hi Pawel, Is your issue just that the HTML is not displayed? Or really that it’s removed when saving, i.e. the HTML does not reach the database? De : Marc Laporte [mailto:[email protected]] Envoyé : 26 avril 2019 06:44 À : Tiki users mailing list <[email protected]> Objet : Re: [Tikiwiki-users] Inserting code removes all "code" Workaround: {CODE(wrap="0" theme="default" mediawiki="1")} ~np~ https://MY_API_URL/api/?type=op&cmd=<clear><session><all><filter><application>sip</application></filter></all></session></clear> ~/np~ {CODE} np means non-parsed Please add any insight to: https://dev.tiki.org/item4624-CODE-plugin-doesn-t-accept-HTML-Code<https://can01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fdev.tiki.org%2Fitem4624-CODE-plugin-doesn-t-accept-HTML-Code&data=02%7C01%7C%7Ccef6ffc418b84b3daae408d6ca341488%7C8705e97737814f4790e1c84c8b884da1%7C0%7C0%7C636918722374560230&sdata=0KvDqydONckKu%2BwEsA6A1rdWm7bH79o%2FVXt6ewUpgtQ%3D&reserved=0> Best regards, Marc On Thursday, April 25, 2019, Cloutier, Philippe (DGARI-Consultant) <[email protected]<mailto:[email protected]>> wrote: Hi Pawel, I’m afraid there’s no simple fix for that. I tried a broad solution to filtering issues in revision 65006, but as my reversion shows, it was problematic: https://sourceforge.net/p/tikiwiki/code/65175<https://can01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fsourceforge.net%2Fp%2Ftikiwiki%2Fcode%2F65175&data=02%7C01%7C%7Ccef6ffc418b84b3daae408d6ca341488%7C8705e97737814f4790e1c84c8b884da1%7C0%7C0%7C636918722374570231&sdata=wG9E6rdkSxkeGLUvvVokc8HtPB6qVFcWKs7n5OmoDmg%3D&reserved=0> You may have to modify the code to disable filtering on that specific field only. De : Pawel Katarzynski [mailto:[email protected]<mailto:[email protected]>] Envoyé : 25 avril 2019 05:52 À : Tiki users mailing list <[email protected]<mailto:[email protected]>> Objet : [Tikiwiki-users] Inserting code removes all "code" Hi All, I have the really annoying issue, every time I try to insert text that contains some < > as soon I save the page anything within <> (including brackets) disappear. Even if I use “Code” option, it is still removed. Example: https://MY_API_URL/api/?type=op&cmd=<clear><session><all><filter><application>sip</application></filter></all></session></clear<https://MY_API_URL/api/?type=op&cmd=%3cclear%3e%3csession%3e%3call%3e%3cfilter%3e%3capplication%3esip%3c/application%3e%3c/filter%3e%3c/all%3e%3c/session%3e%3c/clear>> Page source view: {CODE( wrap="0" theme="default" mediawiki="1")} https://MY_API_URL/api/?type=op&cmd=<clear><session><all><filter><application>sip</application></filter></all></session></clear>CODE<https://MY_API_URL/api/?type=op&cmd=%3cclear%3e%3csession%3e%3call%3e%3cfilter%3e%3capplication%3esip%3c/application%3e%3c/filter%3e%3c/all%3e%3c/session%3e%3c/clear%3eCODE>} As soon I klick save the end result is: https://MY_API_URL/api/?type=op&cmd=sip Any suggestions? Pawel ________________________________ The Royal Botanic Gardens, Kew is a non-departmental public body with exempt charitable status, whose principal place of business is at Royal Botanic Gardens, Kew, Richmond, Surrey TW9 3AE, United Kingdom. The information contained in this email and any attachments is intended solely for the addressee(s) and may contain confidential or legally privileged information. If you have received this message in error, please return it immediately and permanently delete it. Do not use, copy or disclose the information contained in this email or in any attachment. Any views expressed in this email do not necessarily reflect the opinions of RBG Kew. Any files attached to this email have been inspected with virus detection software by RBG Kew before transmission, however you should carry out your own virus checks before opening any attachments. RBG Kew accepts no liability for any loss or damage which may be caused by software viruses. Disclaimer The information contained in this communication from the sender is confidential. It is intended solely for use by the recipient and others authorized to receive it. If you are not the recipient, you are hereby notified that any disclosure, copying, distribution or taking action in relation of the contents of this information is strictly prohibited and may be unlawful. This email has been scanned for viruses and malware, and may have been automatically archived by Mimecast Ltd, an innovator in Software as a Service (SaaS) for business. Providing a safer and more useful place for your human generated data. Specializing in; Security, archiving and compliance. To find out more Click Here<https://can01.safelinks.protection.outlook.com/?url=http%3A%2F%2Fwww.mimecast.com%2Fproducts%2F&data=02%7C01%7C%7Ccef6ffc418b84b3daae408d6ca341488%7C8705e97737814f4790e1c84c8b884da1%7C0%7C0%7C636918722374570231&sdata=HRhiFd1nGUglaxyZaHHKUOqwy2WEk1LQcqk9BVJmDSI%3D&reserved=0>. -- Marc Laporte http://WikiSuite.org<https://can01.safelinks.protection.outlook.com/?url=http%3A%2F%2FWikiSuite.org&data=02%7C01%7C%7Ccef6ffc418b84b3daae408d6ca341488%7C8705e97737814f4790e1c84c8b884da1%7C0%7C0%7C636918722374580240&sdata=vQHGPOyQdFoIpvtcyOkE%2BJqa2Uz2aWjopoZIBU5hsPM%3D&reserved=0> http://PluginProblems.com<https://can01.safelinks.protection.outlook.com/?url=http%3A%2F%2FPluginProblems.com&data=02%7C01%7C%7Ccef6ffc418b84b3daae408d6ca341488%7C8705e97737814f4790e1c84c8b884da1%7C0%7C0%7C636918722374580240&sdata=uzG6p7b5AHk0zZtVVP6OtyAu2uD9HaLTMwJtBcHJvdY%3D&reserved=0> http://Avan.Tech<https://can01.safelinks.protection.outlook.com/?url=http%3A%2F%2FAvan.Tech&data=02%7C01%7C%7Ccef6ffc418b84b3daae408d6ca341488%7C8705e97737814f4790e1c84c8b884da1%7C0%7C0%7C636918722374590250&sdata=njlTs487pQ0irgOUOCdmpfS2WAPBVyKSaWQqWc04rk8%3D&reserved=0> _______________________________________________ TikiWiki-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/tikiwiki-users