#1567 Any code gets stripped even when protected.

BRANCH-1-8_(CVS)
closed-duplicate
nobody
5
2004-08-26
2004-07-21
Anonymous
No

This bug experienced in 1.8.3 and all 1.9 versions.

Any XML, PHP, Javascript, C++ code gets stripped inside
articles or wiki page EVEN WHEN using the code plugin or
when enclosing it with ~np~ ~/np~. When the article is
set to "allow html" the code isn't stripped but it displays
as if it has been stripped. If the article is set to "not
allow html", then the code gets stripped inside the
article too (not only on display).
The attached screenshot displays some XML code. On
the left the original code in the edit article window
(with "allow html" on). On the right, the way the same
code is displayed when viewing the article (also
with "allow html" on).

Discussion

  • Bug screenshot (edited)

     
    Attachments
  • teedog
    teedog
    2004-07-22

    • milestone: 410992 --> BRANCH-1-8_(CVS)
     
  • teedog
    teedog
    2004-07-22

    Logged In: YES
    user_id=807810

    Actually the {CODE()} plugin should be used instead of ~np~.
    ~np~ is used to display text that would otherwise be parsed
    by the wiki. However, I confirm that code is stripped even
    when placed between {CODE()}{CODE}.

     
  • Damian Parker
    Damian Parker
    2004-08-26

    • status: open --> closed-duplicate