1. creole formatting error
- Posted by petelomax Jan 29, 2011
- 1149 views
I spotted a problem trying to reply to the other post. Using a double # before the opening { and after the closing } I tried: eg but I had to add a space eg { {},{1}}
Edit: It is trying to honour an "image" tag inside a "code text" tag, is that right?
2. Re: creole formatting error
- Posted by DerekParnell (admin) Jan 29, 2011
- 1146 views
I spotted a problem trying to reply to the other post. Using a double # before the opening { and after the closing } I tried: eg but I had to add a space eg { {},{1}}
Edit: It is trying to honour an "image" tag inside a "code text" tag, is that right?
This is not an error in creole.
The phrase 'code text' is misleading. The double # tag is used to render text using a mono-spaced font. It has nothing explicitly to do with 'code' as such. Therefore creole saw your tag and formatted any text with a mono-spaced font and it also processed other creole tags that were inside that section.
To achieve what you wanted here you needed to one of a few alternative methods.
- Use the 'wiki' escape character (tilde ~) to have creole ignore the double braces...
eg. ##~{{}, {1}}##
This gives : {{}, {1}} - Use the 'nowiki' tag to wrap the whole phrase so it ignores all wiki tags in that text...
eg. {{{ {{}, {1}} }}}
This gives : {{}, {1}} - Use the eucode tag, which is specifically for euphoria code...
eg.
<eucode>
{{}, {1}}
</eucode>
which gives :
{{}, {1}}
3. Re: creole formatting error
- Posted by petelomax Jan 31, 2011
- 1117 views
This is not an error in creole.
The phrase 'code text' is misleading.
Thanks, I see that now.
Pete