Forum OpenACS Development: Re: xowiki external links

Collapse
2: Re: xowiki external links (response to 1)
Posted by Victor Guerra on
Dear Jeff,

After digging a bit I noticed that the behavior you mentioned happens when the format of the content on your xowiki page is text/enhanced. I assume the parameter UseHtmlAreaForRichtextP is set to 0 on your installation, otherwise the format would be text/html automatically.

So if you change the format of the content to any other value ( text/plain text/fixed-width or text/html) double brackets are working as expected. In cases when the content of a xowiki page's format is text/enhanced it is converted to normal HTML using ad_enhanced_text_to_html ( take a look at the proc substitute_markup on the ::xowiki::Page class - xowiki/tcl/xowiki-procs.tcl ) before doing any kind of substitutions on the content.

I hope this helps.

Best,

Collapse
4: Re: xowiki external links (response to 2)
Posted by Jeff Rogers on
Yep, that was exactly the problem. I didn't read the basic description of xowiki closely enough and I was thinking in terms of traditional wiki-esque markup rather than the richtext approach of xowiki. The behavior was surprising for me, but it's working ok now.

Thanks,