Add new attachment

Only authorized users are allowed to upload new attachments.

This page (revision-10) was last changed on 02-Feb-2009 18:09 by DuvergerP  

This page was created on 01-Sep-2005 19:47 by GregorHagedorn

Only authorized users are allowed to rename pages.

Only authorized users are allowed to delete pages.

Difference between version and

At line 7 changed one line
|[Idea Status]|NewIdea
|[Idea Status]|ConsideredIdea
At line 17 added 38 lines
-----
However, if content is rendered as HTML comment, it should contain valid wiki syntax only (or be rendered as if it was regular Wiki-Content), e.g. whoever picks up the idea should take care not to enable HTML/script injection by adding {{{ [{-- <script>alert("hello");</script> --}] }}} using this syntax...
-- OlafKock
I think it's okay if it just gets the standard entity escaping treatment. Putting WikiMarkup in something that never gets rendered is kinda redundant ;-)
-- JanneJalkanen
----
If you just want to hide the test, it can easily be done with CSS.
Add to your jspwiki.css file:
{{{
.invisible { display:none }
}}}
Then write your comments like this:
{{{
%%invisible
comment in wiki notation, not rendered at all
%%
}}}
-- NascifAbousalhNeto
No I think the idea to support commenting is a good one. It's quite nice to be able to see some text when you're editing a page the readers would not. I use this for example when tables get large - trying to edit them in a browser doesn't make sense so I remind editors to use a normal editor without line wrapping for example. Yes updating the CSS does work but every time I upgrade JSPWiki it adds to the list of things that I have to forget when I deploy it.
\\
--Kwhittingham, 2009-02-02
----
without doing nothing there is the following solution that is not pretty but works:\\
{{{
[{SET comment='
this is a comment
'}]
}}}
-- DuvergerP, 2009-02-02
Version Date Modified Size Author Changes ... Change note
10 02-Feb-2009 18:09 2.164 kB DuvergerP to previous
9 02-Feb-2009 18:09 2.158 kB DuvergerP to previous | to last
8 02-Feb-2009 07:39 1.994 kB Kwhittingham to previous | to last
7 25-Sep-2005 01:33 1.495 kB NascifAbousalhNeto to previous | to last
6 25-Sep-2005 01:32 1.497 kB NascifAbousalhNeto to previous | to last
5 24-Sep-2005 21:02 1.212 kB JanneJalkanen to previous | to last
4 24-Sep-2005 21:02 1.206 kB JanneJalkanen to previous | to last
3 24-Sep-2005 20:51 1.205 kB JanneJalkanen to previous | to last
2 24-Sep-2005 19:25 1.027 kB OlafKock to previous | to last
1 01-Sep-2005 19:47 0.691 kB GregorHagedorn to last
« This page (revision-10) was last changed on 02-Feb-2009 18:09 by DuvergerP