[xwiki-users] {pre} tags break {code} macro on Xwiki.org

Dean Sellers dean.sellers at rinstrum.com
Sat Apr 18 13:06:51 UTC 2009


Hi again,
In making an edit on xwiki.org I noticed some strange behaviour and I am
hoping someone can help me solve it, or at least explain it.

What I wanted to do was post an example that involved some javascript
with a literal array inside, like:
dateFormat : {pre}[["dd","mm","yyyy"],"/"]{/pre}

So to include this in the page you would use
{code}
dateFormat : {pre}[["dd","mm","yyyy"],"/"]{/pre}
{code}

It appears though the the {pre} tags break the {code} macro, is there a
workaround or something I am missing here?

Dean Sellers applications engineer  
rinstrum smart weighing  
Ph: +61 7 3216 7166  Fax: +61 7 3216 6211    
dean.sellers at rinstrum.com  
41 Success St, Acacia Ridge, QLD, 4110  
  
www.rinstrum.com  



More information about the users mailing list