Forum

Thread tagged as: Problem, Error, Events

Events app v1.9.2 uses Textile not Markdown

Just noticed on a new project the event.html template is using Textile and the rest of the site templates uses Markdown...

<div class="description"><perch:events id="eventDescHTML" type="textarea" textile="true" editor="markitup" encode="false" /></div>

Changing the template to use Markdown...

<div class="description"><perch:events id="eventDescHTML" type="textarea" markdown="true" editor="markitup" encode="false" /></div>

Produces some strange html when using and ordered list <ol> such as...

this...

  1. asdasd
  2. asdasda
  3. asdasd

Creates...

<p>1. asdasd<br>
2. asdasda<br>
3. asdasd</p>

Rather then...

<ol>
<li>asdasd</li>
<li>asdasda</li>
<li>asdasd</li>
</ol>

Is this a bug? Or wrongly configured?

David Owen

David Owen 0 points

  • 6 years ago
Drew McLellan

Drew McLellan 2638 points
Perch Support

The Events app is a little long in the tooth. In your config.php file, add:

define('PERCH_APPS_EDITOR_MARKUP_LANGUAGE', 'markdown');

Cheers! fixed