From: Ludovic Dubost [ mailto:ludovic@xwiki.com
<mailto:ludovic@xwiki.com> ]
Subject: Re: [xwiki-users] {pre} tags not working
Is this in a normal wiki page edit or using forms (in the blog for
example).
These edits are in normal wiki pages.
I've never heard anything about {table} turning to
HTML. It seems
similar.
I could guess that the editing renders the content
before puting it in
the form.
Have you modified the "Edit" template, maybe
in your skin ?
No modifications to template or skins that I'm aware of. I checked with
the guy that did the original installation of XWiki as well.
If it helps, I did these steps which tie the {pre} and {table} symptoms
together. I can reproduce the symptoms reliably.
1. Created a new Wiki page. Added a bit of text and a table:
this is great!
{table}
1|2
3|4
{table}
2. Saved page, it rendered as expected. Edit page. Looks normal.
3. Edit page text a bit:
this is *great*!
{table}
1|2
3|4
{table}
4. Saved page, rendered as expected-- 'great' is bold. Edit page. Looks
normal.
5. Edit page text a bit more:
this is {pre}*great*{/pre}!
{table}
1|2
3|4
{table}
5. Saved page. 'great' is still bold, {pre} tags not working. When I
edit the page, it looks like this:
this is *great*!
<table class="wiki-table" cellpadding="0"
cellspacing="0"
border="0"><tr><th>1</th><th>2</th></tr><tr
class="table-odd"><td>3</td><td>4</td></tr></table>>
I hope this helps.
John
jpalmer(a)purina.com a écrit :
Greetings,
I'm working on a locally installed XWiki, using the 0.9.840 release.
I've got a couple problems with Wiki syntax that I need assistance
with.
First, I want to use the {pre} tags around some text, but XWiki seems
to be stripping the tags out. For example:
this {pre}*text*{/pre} sample
...will show up with "text" in bold type. When I edit the page, the
{pre} tags are gone.
this *text* sample
Our XWiki installation is very new. {pre} worked for a while, but then
stopped working, making me question whether there was
a (system?)
change made a some point that caused {pre} to stop working.
I've also got problems where Wiki {table} will turn to HTML the next
time the page is edited. Is this related to, or somehow a clue to the
{pre} problem?
Thanks in advance for any assistance,
John
----------------------------------------------------------------------
--
--
You receive this message as a subscriber of the
xwiki-users(a)objectweb.org mailing list. To unsubscribe:
mailto:xwiki-users-unsubscribe@objectweb.org
<mailto:xwiki-users-unsubscribe@objectweb.org>
For general help:
mailto:sympa@objectweb.org?subject=help
<mailto:sympa@objectweb.org?subject=help>
ObjectWeb mailing lists service home page:
http://www.objectweb.org/wws <http://www.objectweb.org/wws>
--
Ludovic Dubost
XPertNet:
http://www.xpertnet.fr/ <http://www.xpertnet.fr/>
Blog:
http://www.ludovic.org/blog/ <http://www.ludovic.org/blog/>
XWiki:
http://www.xwiki.com <http://www.xwiki.com>
Skype: ldubost AIM: nvludo Yahoo: ludovic