Not interpreting my HTML

classic Classic list List threaded Threaded
9 messages Options
Reply | Threaded
Open this post in threaded view
|

Not interpreting my HTML

Bob Mixon [SPS MVP]

All,

 

I have certain HTML that I do not want interpreted before it is rendered.  How can I tell xWiki to render exactly what I have in my HTML?

 

For example:

drive:\Inetpub

 

is rendered as:

drive:Inetpub

 

with the backslash removed.

 

 

 

KM, BPM, Intranet and Portal Technologies

The Possibilities are Endless
Bob Mixon
[hidden email]
http://bobmixon.xwiki.com/
Skype ID:brm1999

 

 

Add me to your address book... Want a signature like this? 

 



--
You receive this message as a subscriber of the [hidden email] mailing list.
To unsubscribe: mailto:[hidden email]
For general help: mailto:[hidden email]?subject=help
ObjectWeb mailing lists service home page: http://www.objectweb.org/wws
Reply | Threaded
Open this post in threaded view
|

Re: Not interpreting my HTML

Ludovic Dubost

Hi,

Surround it with

{pre}
and
{/pre}

Ludovic

Bob Mixon a écrit :

>
> All,
>
>  
>
> I have certain HTML that I do not want interpreted before it is
> rendered.  How can I tell xWiki to render exactly what I have in my HTML?
>
>  
>
> For example:
>
> drive:\Inetpub
>
>  
>
> is rendered as:
>
> drive:Inetpub
>
>  
>
> with the backslash removed.
>
>  
>
>  
>
>  
>
> */KM, BPM, Intranet and Portal Technologies <http://bobmixon.xwiki.com>/*
>
> The Possibilities are Endless <http://bobmixon.xwiki.com>
> *Bob Mixon*
> [hidden email] <mailto:[hidden email]>
> http://bobmixon.xwiki.com/
> Skype ID:brm1999
>
>
>
>  
>
>  
>
> /Add me to your address book... /
> <https://www.plaxo.com/add_me?u=30065756390&v0=1965978&k0=1714165761>/Want
> a signature like this? / <http://www.plaxo.com/signature>
>
>  
>
> ------------------------------------------------------------------------
>
>
> --
> You receive this message as a subscriber of the [hidden email] mailing list.
> To unsubscribe: mailto:[hidden email]
> For general help: mailto:[hidden email]?subject=help
> ObjectWeb mailing lists service home page: http://www.objectweb.org/wws
>  

--
Ludovic Dubost
XPertNet: http://www.xpertnet.fr/
Blog: http://www.ludovic.org/blog/
XWiki: http://www.xwiki.com
Skype: ldubost AIM: nvludo Yahoo: ludovic




--
You receive this message as a subscriber of the [hidden email] mailing list.
To unsubscribe: mailto:[hidden email]
For general help: mailto:[hidden email]?subject=help
ObjectWeb mailing lists service home page: http://www.objectweb.org/wws
Reply | Threaded
Open this post in threaded view
|

RE: Not interpreting my HTML

Bob Mixon [SPS MVP]
That did it!  Thanks.

Now -- what about an XML block I wish to display?  For example:

<Parent>
   <Child someAttribute=true>
   </Child>
</Parent>

Sincerely,
 
Bob Mixon
[hidden email]
http://bobmixon.xwiki.com
 
-----Original Message-----
From: Ludovic Dubost [mailto:[hidden email]]
Sent: Friday, December 30, 2005 11:51 AM
To: [hidden email]
Subject: Re: [xwiki-users] Not interpreting my HTML


Hi,

Surround it with

{pre}
and
{/pre}

Ludovic

Bob Mixon a écrit :

>
> All,
>
>  
>
> I have certain HTML that I do not want interpreted before it is
> rendered.  How can I tell xWiki to render exactly what I have in my HTML?
>
>  
>
> For example:
>
> drive:\Inetpub
>
>  
>
> is rendered as:
>
> drive:Inetpub
>
>  
>
> with the backslash removed.
>
>  
>
>  
>
>  
>
> */KM, BPM, Intranet and Portal Technologies <http://bobmixon.xwiki.com>/*
>
> The Possibilities are Endless <http://bobmixon.xwiki.com>
> *Bob Mixon*
> [hidden email] <mailto:[hidden email]>
> http://bobmixon.xwiki.com/
> Skype ID:brm1999
>
>
>
>  
>
>  
>
> /Add me to your address book... /
> <https://www.plaxo.com/add_me?u=30065756390&v0=1965978&k0=1714165761>/Want

> a signature like this? / <http://www.plaxo.com/signature>
>
>  
>
> ------------------------------------------------------------------------
>
>
> --
> You receive this message as a subscriber of the [hidden email]
mailing list.
> To unsubscribe: mailto:[hidden email]
> For general help: mailto:[hidden email]?subject=help
> ObjectWeb mailing lists service home page: http://www.objectweb.org/wws
>  


--
Ludovic Dubost
XPertNet: http://www.xpertnet.fr/
Blog: http://www.ludovic.org/blog/
XWiki: http://www.xwiki.com
Skype: ldubost AIM: nvludo Yahoo: ludovic






--
You receive this message as a subscriber of the [hidden email] mailing list.
To unsubscribe: mailto:[hidden email]
For general help: mailto:[hidden email]?subject=help
ObjectWeb mailing lists service home page: http://www.objectweb.org/wws
Reply | Threaded
Open this post in threaded view
|

Re: Not interpreting my HTML

Ludovic Dubost

You should use

{code:xml}
{code}

around it

Ludovic

Bob Mixon a écrit :

> That did it!  Thanks.
>
> Now -- what about an XML block I wish to display?  For example:
>
> <Parent>
>    <Child someAttribute=true>
>    </Child>
> </Parent>
>
> Sincerely,
>  
> Bob Mixon
> [hidden email]
> http://bobmixon.xwiki.com
>  
> -----Original Message-----
> From: Ludovic Dubost [mailto:[hidden email]]
> Sent: Friday, December 30, 2005 11:51 AM
> To: [hidden email]
> Subject: Re: [xwiki-users] Not interpreting my HTML
>
>
> Hi,
>
> Surround it with
>
> {pre}
> and
> {/pre}
>
> Ludovic
>
> Bob Mixon a écrit :
>  
>> All,
>>
>>  
>>
>> I have certain HTML that I do not want interpreted before it is
>> rendered.  How can I tell xWiki to render exactly what I have in my HTML?
>>
>>  
>>
>> For example:
>>
>> drive:\Inetpub
>>
>>  
>>
>> is rendered as:
>>
>> drive:Inetpub
>>
>>  
>>
>> with the backslash removed.
>>
>>  
>>
>>  
>>
>>  
>>
>> */KM, BPM, Intranet and Portal Technologies <http://bobmixon.xwiki.com>/*
>>
>> The Possibilities are Endless <http://bobmixon.xwiki.com>
>> *Bob Mixon*
>> [hidden email] <mailto:[hidden email]>
>> http://bobmixon.xwiki.com/
>> Skype ID:brm1999
>>
>>
>>
>>  
>>
>>  
>>
>> /Add me to your address book... /
>> <https://www.plaxo.com/add_me?u=30065756390&v0=1965978&k0=1714165761>/Want
>>    
>
>  
>> a signature like this? / <http://www.plaxo.com/signature>
>>
>>  
>>
>> ------------------------------------------------------------------------
>>
>>
>> --
>> You receive this message as a subscriber of the [hidden email]
>>    
> mailing list.
>  
>> To unsubscribe: mailto:[hidden email]
>> For general help: mailto:[hidden email]?subject=help
>> ObjectWeb mailing lists service home page: http://www.objectweb.org/wws
>>  
>>    
>
>
>  
> ------------------------------------------------------------------------
>
>
> --
> You receive this message as a subscriber of the [hidden email] mailing list.
> To unsubscribe: mailto:[hidden email]
> For general help: mailto:[hidden email]?subject=help
> ObjectWeb mailing lists service home page: http://www.objectweb.org/wws
>  

--
Ludovic Dubost
XPertNet: http://www.xpertnet.fr/
Blog: http://www.ludovic.org/blog/
XWiki: http://www.xwiki.com
Skype: ldubost AIM: nvludo Yahoo: ludovic




--
You receive this message as a subscriber of the [hidden email] mailing list.
To unsubscribe: mailto:[hidden email]
For general help: mailto:[hidden email]?subject=help
ObjectWeb mailing lists service home page: http://www.objectweb.org/wws
Reply | Threaded
Open this post in threaded view
|

Re: Not interpreting my HTML

Andreas Haumer
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hi!

Ludovic Dubost schrieb:
>
> You should use
>
> {code:xml}
> {code}
>
> around it
>

Are there similar tags for JSP code?

I tried to document basic JSP techniques with xwiki and
wanted to provide some example JSP code, but I always get
the following error:

Error number 4002 in 4: Error while parsing groovy page Main.Testpage Wrapped Exception: parsing failed


Here is some example xwiki page content which produces
the error described above (reduced to the minimum where
the problem occurs):

xwiki problem with basic JSP code

{code:xml}
{pre}

<%@ taglib prefix="c" uri="http://java.sun.com/jstl/core" %>

{/pre}
{code}


xwiki writes the following log messages:
[...]
2005-12-31 15:06:09,010 DEBUG [com.opensymphony.oscache.base.algorithm.AbstractConcurrentReadCache] get called (key=xwiki:)
2005-12-31 15:06:09,010 DEBUG [com.opensymphony.oscache.base.algorithm.AbstractConcurrentReadCache] get called (key=xwiki problem with basic JSP code

{code:xml}
{pre}

<%@ taglib prefix="c" uri="http://java.sun.com/jstl/core" %>

{/pre}
{code}
)
2005-12-31 15:06:09,010 DEBUG [com.opensymphony.oscache.base.algorithm.AbstractConcurrentReadCache] persistRetrieve called (key=xwiki problem with basic JSP code

{code:xml}
{pre}

<%@ taglib prefix="c" uri="http://java.sun.com/jstl/core" %>

{/pre}
{code}
)
2005-12-31 15:06:09,011 DEBUG [com.opensymphony.oscache.base.Cache] No cache entry exists for key='xwiki problem with basic JSP code

{code:xml}
{pre}

<%@ taglib prefix="c" uri="http://java.sun.com/jstl/core" %>

{/pre}
{code}
', creating
2005-12-31 15:06:09,018 INFO  [STDOUT] General error during parsing: unexpected token: uri

Script1.groovy:6:24: unexpected token: uri
        at org.codehaus.groovy.antlr.parser.GroovyRecognizer.postfixExpression(GroovyRecognizer.java:10959)
        at org.codehaus.groovy.antlr.parser.GroovyRecognizer.unaryExpressionNotPlusMinus(GroovyRecognizer.java:10738)
        at org.codehaus.groovy.antlr.parser.GroovyRecognizer.powerExpression(GroovyRecognizer.java:10580)
        at org.codehaus.groovy.antlr.parser.GroovyRecognizer.multiplicativeExpression(GroovyRecognizer.java:10514)
        at org.codehaus.groovy.antlr.parser.GroovyRecognizer.additiveExpression(GroovyRecognizer.java:10184)
        at org.codehaus.groovy.antlr.parser.GroovyRecognizer.shiftExpression(GroovyRecognizer.java:8041)
        at org.codehaus.groovy.antlr.parser.GroovyRecognizer.relationalExpression(GroovyRecognizer.java:9992)
        at org.codehaus.groovy.antlr.parser.GroovyRecognizer.equalityExpression(GroovyRecognizer.java:9934)
        at org.codehaus.groovy.antlr.parser.GroovyRecognizer.regexExpression(GroovyRecognizer.java:9884)
        at org.codehaus.groovy.antlr.parser.GroovyRecognizer.andExpression(GroovyRecognizer.java:9854)
        at org.codehaus.groovy.antlr.parser.GroovyRecognizer.exclusiveOrExpression(GroovyRecognizer.java:9824)
        at org.codehaus.groovy.antlr.parser.GroovyRecognizer.inclusiveOrExpression(GroovyRecognizer.java:9794)
        at org.codehaus.groovy.antlr.parser.GroovyRecognizer.logicalAndExpression(GroovyRecognizer.java:9764)
        at org.codehaus.groovy.antlr.parser.GroovyRecognizer.logicalOrExpression(GroovyRecognizer.java:9734)
        at org.codehaus.groovy.antlr.parser.GroovyRecognizer.conditionalExpression(GroovyRecognizer.java:3807)
[...]

I tried to use the tags {code:java} and {code:jsp}, but
it did not help.

Is there any way to have preformatted JSP code inside xwiki
pages?

- - andreas

- --
Andreas Haumer                     | mailto:[hidden email]
*x Software + Systeme              | http://www.xss.co.at/
Karmarschgasse 51/2/20             | Tel: +43-1-6060114-0
A-1100 Vienna, Austria             | Fax: +43-1-6060114-71
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.2 (GNU/Linux)
Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org

iD8DBQFDtpGjxJmyeGcXPhERAvO/AJ9nH2s4f44mfZTJCc7lphdyJZkQ3gCgvINo
3oKWNhOhvOuduvbn8L/i2Hs=
=FuiL
-----END PGP SIGNATURE-----



--
You receive this message as a subscriber of the [hidden email] mailing list.
To unsubscribe: mailto:[hidden email]
For general help: mailto:[hidden email]?subject=help
ObjectWeb mailing lists service home page: http://www.objectweb.org/wws
Reply | Threaded
Open this post in threaded view
|

RE: Not interpreting my HTML

Bob Mixon [SPS MVP]
In reply to this post by Ludovic Dubost
Ludovic,

Unfortunately, doing that causes many problems on my page.  The resulting
page I get is unreadable with the Menu repositioned.

Sincerely,
 
Bob Mixon
[hidden email]
http://bobmixon.xwiki.com
 

-----Original Message-----
From: Ludovic Dubost [mailto:[hidden email]]
Sent: Saturday, December 31, 2005 1:32 AM
To: [hidden email]
Subject: Re: [xwiki-users] Not interpreting my HTML


You should use

{code:xml}
{code}

around it

Ludovic

Bob Mixon a écrit :

> That did it!  Thanks.
>
> Now -- what about an XML block I wish to display?  For example:
>
> <Parent>
>    <Child someAttribute=true>
>    </Child>
> </Parent>
>
> Sincerely,
>  
> Bob Mixon
> [hidden email]
> http://bobmixon.xwiki.com
>  
> -----Original Message-----
> From: Ludovic Dubost [mailto:[hidden email]]
> Sent: Friday, December 30, 2005 11:51 AM
> To: [hidden email]
> Subject: Re: [xwiki-users] Not interpreting my HTML
>
>
> Hi,
>
> Surround it with
>
> {pre}
> and
> {/pre}
>
> Ludovic
>
> Bob Mixon a écrit :
>  
>> All,
>>
>>  
>>
>> I have certain HTML that I do not want interpreted before it is
>> rendered.  How can I tell xWiki to render exactly what I have in my HTML?
>>
>>  
>>
>> For example:
>>
>> drive:\Inetpub
>>
>>  
>>
>> is rendered as:
>>
>> drive:Inetpub
>>
>>  
>>
>> with the backslash removed.
>>
>>  
>>
>>  
>>
>>  
>>
>> */KM, BPM, Intranet and Portal Technologies <http://bobmixon.xwiki.com>/*
>>
>> The Possibilities are Endless <http://bobmixon.xwiki.com>
>> *Bob Mixon*
>> [hidden email] <mailto:[hidden email]>
>> http://bobmixon.xwiki.com/
>> Skype ID:brm1999
>>
>>
>>
>>  
>>
>>  
>>
>> /Add me to your address book... /
>>
<https://www.plaxo.com/add_me?u=30065756390&v0=1965978&k0=1714165761>/Want

>>    
>
>  
>> a signature like this? / <http://www.plaxo.com/signature>
>>
>>  
>>
>> ------------------------------------------------------------------------
>>
>>
>> --
>> You receive this message as a subscriber of the [hidden email]
>>    
> mailing list.
>  
>> To unsubscribe: mailto:[hidden email]
>> For general help: mailto:[hidden email]?subject=help
>> ObjectWeb mailing lists service home page: http://www.objectweb.org/wws
>>  
>>    
>
>
>  
> ------------------------------------------------------------------------
>
>
> --
> You receive this message as a subscriber of the [hidden email]
mailing list.
> To unsubscribe: mailto:[hidden email]
> For general help: mailto:[hidden email]?subject=help
> ObjectWeb mailing lists service home page: http://www.objectweb.org/wws
>  


--
Ludovic Dubost
XPertNet: http://www.xpertnet.fr/
Blog: http://www.ludovic.org/blog/
XWiki: http://www.xwiki.com
Skype: ldubost AIM: nvludo Yahoo: ludovic






--
You receive this message as a subscriber of the [hidden email] mailing list.
To unsubscribe: mailto:[hidden email]
For general help: mailto:[hidden email]?subject=help
ObjectWeb mailing lists service home page: http://www.objectweb.org/wws
Reply | Threaded
Open this post in threaded view
|

Re: Not interpreting my HTML

Ludovic Dubost
In reply to this post by Andreas Haumer

Hi,

<%

is also the tag for groovy code in XWiki

You might want to just replace < by &lt;

Ludovic

Andreas Haumer a écrit :

> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>
> Hi!
>
> Ludovic Dubost schrieb:
>  
>> You should use
>>
>> {code:xml}
>> {code}
>>
>> around it
>>
>>    
>
> Are there similar tags for JSP code?
>
> I tried to document basic JSP techniques with xwiki and
> wanted to provide some example JSP code, but I always get
> the following error:
>
> Error number 4002 in 4: Error while parsing groovy page Main.Testpage Wrapped Exception: parsing failed
>
>
> Here is some example xwiki page content which produces
> the error described above (reduced to the minimum where
> the problem occurs):
>
> xwiki problem with basic JSP code
>
> {code:xml}
> {pre}
>
> <%@ taglib prefix="c" uri="http://java.sun.com/jstl/core" %>
>
> {/pre}
> {code}
>
>
> xwiki writes the following log messages:
> [...]
> 2005-12-31 15:06:09,010 DEBUG [com.opensymphony.oscache.base.algorithm.AbstractConcurrentReadCache] get called (key=xwiki:)
> 2005-12-31 15:06:09,010 DEBUG [com.opensymphony.oscache.base.algorithm.AbstractConcurrentReadCache] get called (key=xwiki problem with basic JSP code
>
> {code:xml}
> {pre}
>
> <%@ taglib prefix="c" uri="http://java.sun.com/jstl/core" %>
>
> {/pre}
> {code}
> )
> 2005-12-31 15:06:09,010 DEBUG [com.opensymphony.oscache.base.algorithm.AbstractConcurrentReadCache] persistRetrieve called (key=xwiki problem with basic JSP code
>
> {code:xml}
> {pre}
>
> <%@ taglib prefix="c" uri="http://java.sun.com/jstl/core" %>
>
> {/pre}
> {code}
> )
> 2005-12-31 15:06:09,011 DEBUG [com.opensymphony.oscache.base.Cache] No cache entry exists for key='xwiki problem with basic JSP code
>
> {code:xml}
> {pre}
>
> <%@ taglib prefix="c" uri="http://java.sun.com/jstl/core" %>
>
> {/pre}
> {code}
> ', creating
> 2005-12-31 15:06:09,018 INFO  [STDOUT] General error during parsing: unexpected token: uri
>
> Script1.groovy:6:24: unexpected token: uri
>         at org.codehaus.groovy.antlr.parser.GroovyRecognizer.postfixExpression(GroovyRecognizer.java:10959)
>         at org.codehaus.groovy.antlr.parser.GroovyRecognizer.unaryExpressionNotPlusMinus(GroovyRecognizer.java:10738)
>         at org.codehaus.groovy.antlr.parser.GroovyRecognizer.powerExpression(GroovyRecognizer.java:10580)
>         at org.codehaus.groovy.antlr.parser.GroovyRecognizer.multiplicativeExpression(GroovyRecognizer.java:10514)
>         at org.codehaus.groovy.antlr.parser.GroovyRecognizer.additiveExpression(GroovyRecognizer.java:10184)
>         at org.codehaus.groovy.antlr.parser.GroovyRecognizer.shiftExpression(GroovyRecognizer.java:8041)
>         at org.codehaus.groovy.antlr.parser.GroovyRecognizer.relationalExpression(GroovyRecognizer.java:9992)
>         at org.codehaus.groovy.antlr.parser.GroovyRecognizer.equalityExpression(GroovyRecognizer.java:9934)
>         at org.codehaus.groovy.antlr.parser.GroovyRecognizer.regexExpression(GroovyRecognizer.java:9884)
>         at org.codehaus.groovy.antlr.parser.GroovyRecognizer.andExpression(GroovyRecognizer.java:9854)
>         at org.codehaus.groovy.antlr.parser.GroovyRecognizer.exclusiveOrExpression(GroovyRecognizer.java:9824)
>         at org.codehaus.groovy.antlr.parser.GroovyRecognizer.inclusiveOrExpression(GroovyRecognizer.java:9794)
>         at org.codehaus.groovy.antlr.parser.GroovyRecognizer.logicalAndExpression(GroovyRecognizer.java:9764)
>         at org.codehaus.groovy.antlr.parser.GroovyRecognizer.logicalOrExpression(GroovyRecognizer.java:9734)
>         at org.codehaus.groovy.antlr.parser.GroovyRecognizer.conditionalExpression(GroovyRecognizer.java:3807)
> [...]
>
> I tried to use the tags {code:java} and {code:jsp}, but
> it did not help.
>
> Is there any way to have preformatted JSP code inside xwiki
> pages?
>
> - - andreas
>
> - --
> Andreas Haumer                     | mailto:[hidden email]
> *x Software + Systeme              | http://www.xss.co.at/
> Karmarschgasse 51/2/20             | Tel: +43-1-6060114-0
> A-1100 Vienna, Austria             | Fax: +43-1-6060114-71
> -----BEGIN PGP SIGNATURE-----
> Version: GnuPG v1.4.2 (GNU/Linux)
> Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org
>
> iD8DBQFDtpGjxJmyeGcXPhERAvO/AJ9nH2s4f44mfZTJCc7lphdyJZkQ3gCgvINo
> 3oKWNhOhvOuduvbn8L/i2Hs=
> =FuiL
> -----END PGP SIGNATURE-----
>
>  
> ------------------------------------------------------------------------
>
>
> --
> You receive this message as a subscriber of the [hidden email] mailing list.
> To unsubscribe: mailto:[hidden email]
> For general help: mailto:[hidden email]?subject=help
> ObjectWeb mailing lists service home page: http://www.objectweb.org/wws
>  

--
Ludovic Dubost
XPertNet: http://www.xpertnet.fr/
Blog: http://www.ludovic.org/blog/
XWiki: http://www.xwiki.com
Skype: ldubost AIM: nvludo Yahoo: ludovic




--
You receive this message as a subscriber of the [hidden email] mailing list.
To unsubscribe: mailto:[hidden email]
For general help: mailto:[hidden email]?subject=help
ObjectWeb mailing lists service home page: http://www.objectweb.org/wws
Reply | Threaded
Open this post in threaded view
|

Re: Not interpreting my HTML

Ludovic Dubost
In reply to this post by Bob Mixon [SPS MVP]

Difficult to help out without an example or just a link to the page

Ludovic

Bob Mixon a écrit :

> Ludovic,
>
> Unfortunately, doing that causes many problems on my page.  The resulting
> page I get is unreadable with the Menu repositioned.
>
> Sincerely,
>  
> Bob Mixon
> [hidden email]
> http://bobmixon.xwiki.com
>  
>
> -----Original Message-----
> From: Ludovic Dubost [mailto:[hidden email]]
> Sent: Saturday, December 31, 2005 1:32 AM
> To: [hidden email]
> Subject: Re: [xwiki-users] Not interpreting my HTML
>
>
> You should use
>
> {code:xml}
> {code}
>
> around it
>
> Ludovic
>
> Bob Mixon a écrit :
>  
>> That did it!  Thanks.
>>
>> Now -- what about an XML block I wish to display?  For example:
>>
>> <Parent>
>>    <Child someAttribute=true>
>>    </Child>
>> </Parent>
>>
>> Sincerely,
>>  
>> Bob Mixon
>> [hidden email]
>> http://bobmixon.xwiki.com
>>  
>> -----Original Message-----
>> From: Ludovic Dubost [mailto:[hidden email]]
>> Sent: Friday, December 30, 2005 11:51 AM
>> To: [hidden email]
>> Subject: Re: [xwiki-users] Not interpreting my HTML
>>
>>
>> Hi,
>>
>> Surround it with
>>
>> {pre}
>> and
>> {/pre}
>>
>> Ludovic
>>
>> Bob Mixon a écrit :
>>  
>>    
>>> All,
>>>
>>>  
>>>
>>> I have certain HTML that I do not want interpreted before it is
>>> rendered.  How can I tell xWiki to render exactly what I have in my HTML?
>>>
>>>  
>>>
>>> For example:
>>>
>>> drive:\Inetpub
>>>
>>>  
>>>
>>> is rendered as:
>>>
>>> drive:Inetpub
>>>
>>>  
>>>
>>> with the backslash removed.
>>>
>>>  
>>>
>>>  
>>>
>>>  
>>>
>>> */KM, BPM, Intranet and Portal Technologies <http://bobmixon.xwiki.com>/*
>>>
>>> The Possibilities are Endless <http://bobmixon.xwiki.com>
>>> *Bob Mixon*
>>> [hidden email] <mailto:[hidden email]>
>>> http://bobmixon.xwiki.com/
>>> Skype ID:brm1999
>>>
>>>
>>>
>>>  
>>>
>>>  
>>>
>>> /Add me to your address book... /
>>>
>>>      
> <https://www.plaxo.com/add_me?u=30065756390&v0=1965978&k0=1714165761>/Want
>  
>>>    
>>>      
>>  
>>    
>>> a signature like this? / <http://www.plaxo.com/signature>
>>>
>>>  
>>>
>>> ------------------------------------------------------------------------
>>>
>>>
>>> --
>>> You receive this message as a subscriber of the [hidden email]
>>>    
>>>      
>> mailing list.
>>  
>>    
>>> To unsubscribe: mailto:[hidden email]
>>> For general help: mailto:[hidden email]?subject=help
>>> ObjectWeb mailing lists service home page: http://www.objectweb.org/wws
>>>  
>>>    
>>>      
>>  
>> ------------------------------------------------------------------------
>>
>>
>> --
>> You receive this message as a subscriber of the [hidden email]
>>    
> mailing list.
>  
>> To unsubscribe: mailto:[hidden email]
>> For general help: mailto:[hidden email]?subject=help
>> ObjectWeb mailing lists service home page: http://www.objectweb.org/wws
>>  
>>    
>
>
>  
> ------------------------------------------------------------------------
>
>
> --
> You receive this message as a subscriber of the [hidden email] mailing list.
> To unsubscribe: mailto:[hidden email]
> For general help: mailto:[hidden email]?subject=help
> ObjectWeb mailing lists service home page: http://www.objectweb.org/wws
>  

--
Ludovic Dubost
XPertNet: http://www.xpertnet.fr/
Blog: http://www.ludovic.org/blog/
XWiki: http://www.xwiki.com
Skype: ldubost AIM: nvludo Yahoo: ludovic




--
You receive this message as a subscriber of the [hidden email] mailing list.
To unsubscribe: mailto:[hidden email]
For general help: mailto:[hidden email]?subject=help
ObjectWeb mailing lists service home page: http://www.objectweb.org/wws
Reply | Threaded
Open this post in threaded view
|

Re: Not interpreting my HTML

Andreas Haumer
In reply to this post by Ludovic Dubost
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hi Ludovic,

many thanks for your reply!

Ludovic Dubost schrieb:
>
> Hi,
>
> <%
>
> is also the tag for groovy code in XWiki
>
> You might want to just replace < by &lt;
>
Aha!
Now that works, thank you so much!

I tried to escape the tags with a backslash, but that
didn't work. I didn't think of using HTML named entities
(or even UNICODE sequences) to "hide" the tags from the
XWiki engine... ;-)

- - andreas

- --
Andreas Haumer                     | mailto:[hidden email]
*x Software + Systeme              | http://www.xss.co.at/
Karmarschgasse 51/2/20             | Tel: +43-1-6060114-0
A-1100 Vienna, Austria             | Fax: +43-1-6060114-71
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.2 (GNU/Linux)
Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org

iD8DBQFDu/0RxJmyeGcXPhERAsNlAJ4rOx8Pc4ra+BJtf90nUug8i2bf6QCeKRwl
jjN2Jj28ZeVB/kwThkbd3Tk=
=1H8P
-----END PGP SIGNATURE-----



--
You receive this message as a subscriber of the [hidden email] mailing list.
To unsubscribe: mailto:[hidden email]
For general help: mailto:[hidden email]?subject=help
ObjectWeb mailing lists service home page: http://www.objectweb.org/wws