Forum

Thread tagged as: Problem, Configuration

output differs from input

hi there,

i have several regions, and a text block within each region, the default for the text area is "markdown"

1. when I hit "enter", a line break is shown on the editing page, but the <br> does not appear on the html-page

2. when a line begins with a number, e.g. a date, the paragraph turns into a list and the number/date is not shown on the html page

can you help out please? thank you! katja

Perch: 2.7.3, PHP: 5.5.18, MySQL: mysqlnd 5.0.11-dev - 20120503 - $Id: bf9ad53b11c9a57efdb1057292d73b928b8c5c77 $, with PDO

Katja Schwarz

Katja Schwarz 0 points

  • 7 years ago
Rachel Andrew

Rachel Andrew 394 points
Perch Support

If you are using Markdown then your input will be parsed as Markdown.

If you don't like the output you get from Markdown then you could switch to using Textile.

ok - where would i put it:

<?php perch_content('Preise-Seminare');?>

Rachel Andrew

Rachel Andrew 394 points
Perch Support

i changed the template like this:

<perch:content id="text" type="textarea" label="Text" markdown="true" editor="textile" imagewidth="640" imageheight="480"

/>

but it still does not work

i did it before i read your answer, sorry, it does work now

Thank you and a nice evening, katja