mirror of
https://github.com/nottinghamtec/PyRIGS.git
synced 2026-02-08 07:59:42 +00:00
Improved MD support.
Add some styling for images in MD Add support for the bastardisation of the MD html for RML.
This commit is contained in:
@@ -142,7 +142,7 @@
|
||||
<dd> </dd>
|
||||
|
||||
<dt>Event Description</dt>
|
||||
<dd>{{ event.description|markdown }}</dd>
|
||||
<dd>{{ event.description|markdown:'rml' }}</dd>
|
||||
|
||||
<dd> </dd>
|
||||
|
||||
|
||||
@@ -1,3 +1,5 @@
|
||||
{% load markdown_tags %}
|
||||
|
||||
<setNextFrame name="main"/>
|
||||
<nextFrame/>
|
||||
|
||||
@@ -15,9 +17,7 @@
|
||||
</para>
|
||||
|
||||
<keepInFrame>
|
||||
<para style="style.event_description">
|
||||
{{ object.description|default_if_none:""|linebreaksbr }}
|
||||
</para>
|
||||
{{ object.description|default_if_none:""|markdown:'rml' }}
|
||||
</keepInFrame>
|
||||
|
||||
{% if invoice %}
|
||||
@@ -173,9 +173,9 @@
|
||||
<para>{{ item.name }}
|
||||
{% if item.description %}
|
||||
</para>
|
||||
<para style="item_description">
|
||||
<em>{{ item.description|linebreaksbr }}</em>
|
||||
</para>
|
||||
<indent left="1cm">
|
||||
{{ item.description|markdown:"rml" }}
|
||||
</indent>
|
||||
<para>
|
||||
{% endif %}
|
||||
</para>
|
||||
@@ -315,4 +315,4 @@
|
||||
{% include "RIGS/event_print_signature.xml" %}
|
||||
</keepTogether>
|
||||
{% endif %}
|
||||
<namedString id="lastPage"><pageNumber/></namedString>
|
||||
<namedString id="lastPage"><pageNumber/></namedString>
|
||||
|
||||
Reference in New Issue
Block a user