Re: Inserting code removes all "code"
Marc Laporte <[email protected]>
| Newsgroups | gmane.comp.cms.tiki.user |
|---|---|
| Message-ID | <CABd-ERFGHP_SuRm-ZQheP6-UvsZ5cEyMPLCmgS7NEmHETWOA0Q@mail.gmail.com> |
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
Best regards,
Marc
On Thursday, April 25, 2019, Cloutier, Philippe (DGARI-Consultant) <
Philippe.Cloutier.externe-3LJ5X92lM5eafr9EPe0ZzS/[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
>
> You may have to modify the code to disable filtering on that specific
> field only.
>
>
>
> *De :* Pawel Katarzynski [mailto:[email protected]]
> *Envoyé :* 25 avril 2019 05:52
> *À :* Tiki users mailing list <[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>
>
>
>
> 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}
>
>
> 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%7C9f1434ce84524f34071108d6c965f317%7C8705e97737814f4790e1c84c8b884da1%7C0%7C0%7C636917837040582241&sdata=9xMemSL311ItLLxL1w2ofLJsFdiJXha4B4ity36LGu0%3D&reserved=0>
> .
>
--
Marc Laporte
http://WikiSuite.org
http://PluginProblems.com
http://Avan.Tech
_______________________________________________
TikiWiki-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/tikiwiki-users