Thank you both for your quick answers!
http://jira.xwiki.org/browse/XRENDERING-167 really is my problem.
A quick (and bad) example is a list of links in one line:
---------------------------------------------------------------------------------
xwiki: [[Platform (
Features]>>http://platform.xwiki.org/xwiki/bin/view/Main/]] -
[[Component
Module>>http://extensions.xwiki.org/xwiki/bin/view/Extension/Componen… -
[[Writing XWiki
components>>http://platform.xwiki.org/xwiki/bin/view/DevGuide/Writing… -
[[
GitHub>>https://github.com/xwiki]] - [[User's
Guide>>http://enterprise.xwiki.org/xwiki/bin/view/UserGuide/]] - [[Getting
started>>http://enterprise.xwiki.org/xwiki/bin/view/GettingStarted/]] -
[[
Syntax>>http://platform.xwiki.org/xwiki/bin/view/Main/XWikiSyntax]] -
[[Administrator's
Guide>>http://platform.xwiki.org/xwiki/bin/view/AdminGuide/]]
- [[Developer's
Guide>>http://platform.xwiki.org/xwiki/bin/view/DevGuide/]] -
[[Development
Zone>>http://dev.xwiki.org/xwiki/bin/view/Main/]] - [[Platform
Features>>http://platform.xwiki.org/xwiki/bin/view/Features/]] -
[[
Extensions>>http://extensions.xwiki.org/xwiki/bin/view/Main/WebHome]] -
[[
FAQ>>http://www.xwiki.org/xwiki/bin/view/FAQ/]]
---------------------------------------------------------------------------------
this is rendered as
xwiki:Platform (Features]
<http://platform.xwiki.org/xwiki/bin/view/Main/>-Component Module
<http://extensions.xwiki.org/xwiki/bin/view/Extension/Component+Module>-Writing
XWiki components
<http://platform.xwiki.org/xwiki/bin/view/DevGuide/WritingComponents>-GitHub
<https://github.com/xwiki>-User's Guide
<http://enterprise.xwiki.org/xwiki/bin/view/UserGuide/>-Getting started
<http://enterprise.xwiki.org/xwiki/bin/view/GettingStarted/>-Syntax
<http://platform.xwiki.org/xwiki/bin/view/Main/XWikiSyntax>-Administrator's
Guide <http://platform.xwiki.org/xwiki/bin/view/AdminGuide/>-Developer's Guide
<http://platform.xwiki.org/xwiki/bin/view/DevGuide/>-Development Zone
<http://dev.xwiki.org/xwiki/bin/view/Main/>-Platform Features
<http://platform.xwiki.org/xwiki/bin/view/Features/>-Extensions
<http://extensions.xwiki.org/xwiki/bin/view/Main/WebHome>-FAQ
<http://www.xwiki.org/xwiki/bin/view/FAQ/>
---------------------------------------------------------------------------------
If i needed to edit this (wrapped) line it is very hard to find something (where is the
GitHub link?).
this way:
---------------------------------------------------------------------------------
xwiki: ~
[[Platform (
Features]>>http://platform.xwiki.org/xwiki/bin/view/Main/]] - ~
[[Component
Module>>http://extensions.xwiki.org/xwiki/bin/view/Extension/Componen… - ~
[[Writing XWiki
components>>http://platform.xwiki.org/xwiki/bin/view/DevGuide/Writing… -
~
[[
GitHub>>https://github.com/xwiki]] - ~
[[User's
Guide>>http://enterprise.xwiki.org/xwiki/bin/view/UserGuide/]] - ~
[[Getting
started>>http://enterprise.xwiki.org/xwiki/bin/view/GettingStarted/]] -
~
[[
Syntax>>http://platform.xwiki.org/xwiki/bin/view/Main/XWikiSyntax]] - ~
[[Administrator's
Guide>>http://platform.xwiki.org/xwiki/bin/view/AdminGuide/]]
- ~
[[Developer's
Guide>>http://platform.xwiki.org/xwiki/bin/view/DevGuide/]] - ~
[[Development
Zone>>http://dev.xwiki.org/xwiki/bin/view/Main/]] - ~
[[Platform
Features>>http://platform.xwiki.org/xwiki/bin/view/Features/]] - ~
[[
Extensions>>http://extensions.xwiki.org/xwiki/bin/view/Main/WebHome]] - ~
[[
FAQ>>http://www.xwiki.org/xwiki/bin/view/FAQ/]]
---------------------------------------------------------------------------------
it would be much easier.
A macro that only escapes the newlines but preserves
all the markup for the renderer might be a solution.
{{filter name="escapeNewlines"}}
...
line one ~
still line one
second line
...
{{/filter}}
But i am new to XWiki (but wrote a lot of private
code for JSPWiki) so i don't know if this is possible.
Yes it's possible ;)
As I said in my answer this is already possible. Try this in your wiki:
{{velocity filter="html"}}
[[Platform (
Frank
On 04/10/2012 02:50 PM, Thomas Mortagne wrote:
> See
http://jira.xwiki.org/browse/XRENDERING-167
>
> On Tue, Apr 10, 2012 at 2:30 PM, Frank Fischer<frank(a)jcpsim.org> wrote:
>> Hello,
>> using a non-WYSIWIG editor my text lines can get quite large
>> (especially when some markup is included).
>>
>> With 1.0 syntax this was no problem:
>>
>> line one
>> still line one
>>
>> is rendered in one line.
>>
>> Is it possible to achieve a similar behaviour with 2.0 (2.1)?
>>
>> Like:
>>
>> line one ~
>> still line one
>>
>> or:
>>
>> line one \
>> still line one
>>
>> (both examples result in two rendered lines)
>>
>> (from
http://en.wikipedia.org/wiki/%5C: In the context of line-oriented
>> text, especially source
>> code for some programming languages, it is often used at the end of a line
>> to indicate that
>> the trailing newline character should be ignored, so that the following line
>> is treated as if it
>> were part of the current line. In this context it may be called a
>> "continuation". The GNU make
>> manual says, "We split each long line into two lines using
>> backslash-newline; this is like using
>> one long line, but is easier to read.")
>>
>> Thank You
>> Frank