lukger
lukger

Reputation: 424

xwiki line break prevents xwiki syntax formatting

So i have an object with a textarea property which i am giving a text with xwiki syntax in it to make a line break according to the documentation XWiki Syntax 2.1: New Line/Line Breaks. Below is the text I am uploading.

=Beschreibung Ablauf der Notfallübung=\\==Planung==\\Um die Sicherheit im Brandfall zu erhöhen veranstaltet ...


The problem is, that the first heading gets formated right but everything after the line breaks looses its formatting. How can i prevent that from happening?

Upvotes: 1

Views: 417

Answers (1)

lukger
lukger

Reputation: 424

I changed the double backslash line break (\\) to a simple line break (\n) and it worked accordingly. Still don't know why it didn't work though. Not a good answer for the question I know but an working alternative.

Upvotes: 1

Related Questions