views:

241

answers:

2

Hi everyone!

I'm using redmine and I'm trying to insert the special character "|" inside a table in a redmine wiki page. I don't want this character to be parsed as a column separator. I've achieved this by doing a < code >|< /code> around this character, but I don't want to use the code tag, since this character will gain code attributes, namely the courier new font. Is there a tag for displaying plain text and avoid the parsing from the redmine wiki engine? I'm reading the redmine wiki formatting documentation but it is very poor and points me to textile formatting which doesn't seem to include this special case.

Best regards,

Miguel Rentes

+1  A: 

You can precede the | by the exclamation mark:

therefore !| will be just displayed as |

dawez
A: 

The only way I found out to overcome this problem is to insert the HTML code for the character I want to isolate. For instance, instead of putting an underscore and make the wiki think I'm starting an italic word, I have to put the HTML code for it:

&#95;

Example:

this is a &#95;test - _text comment here_

Without the underscore code (&#95;) redmine wiki engine will think that italic starts at test and this is the wrong result:

this is a test - text comment here

So, putting the ASCII code for the underscore corrects this problem. Unfortunately, this parsing is not very clever (yet I hope).

Here is a link for an ASCII code table with many symbols and characters:

http://www.ascii.cl/htmlcodes.htm

JLP