Project

General

Profile

The coderay code syntax hightlighting didn't work for xml in wiki page?

Added by Stanley Xu about 14 years ago

I am using redmine 0.8.4 and the built in coderay 0.7.6 to do the code highlighting for the xml in the wiki pages. The code hightlighting works well for the xml files in the repository but didn't work in the wiki.

What I wrote in the wiki is:

<option imageUrl="/images/gifts/shining_product.png" id="4" name="草莓巧克力闪动杯">
    <productname>闪动杯</productname>
    <producttaste>草莓巧克力</producttaste>
    <productsize>370g</productsize>
    <giftitem productid="7" quantity="1" />
    <giftitem productid="8" quantity="2" />
</option>

what I got from the wiki page is like:

what I expected is like:

Is there any one who could help me on this?