I have just came across the same problem and decided to understand what was the problem.
I think it is related to boxes. If you don't open your own toplevel box, the Format module just don't know what to do.
Compare:
where the last "cc" is misplaced, to
where you get what you expect.
To my mind, you can solve the problem by opening your own toplevel box (i.e. @[ ... @]).
You can use Mediawiki syntax. It is possible that not all formatting options are supported at the moment.Links to other pages: [[Page Title]] or [[path/to/page|Title]].External links: http://example.com or [http://example.com some link title].Interwiki links: [[site:Page Title]].You can use the following interwiki links: path, gdo, wpImages are included with [[Image:name]]. (wikipedia help)
<code>
<blockcode>
<foo>
[foo]
More information about formatting options
This Blog is syndacated on :
Answer to "why the formatter decide to add a new line"
I have just came across the same problem and decided to understand what was the problem.
I think it is related to boxes. If you don't open your own toplevel box, the Format module just don't know what to do.
Compare:
aa,bb,
cc- : unit = ()
where the last "cc" is misplaced, to
aa,bb,cc- : unit = ()
where you get what you expect.
To my mind, you can solve the problem by opening your own toplevel box (i.e. @[ ... @]).