Parcourir la source

fix: markdown support for section with features

version-14
Jannat Patel il y a 3 ans
Parent
révision
7da95d4f2e
1 fichiers modifiés avec 2 ajouts et 2 suppressions
  1. +2
    -2
      frappe/website/web_template/section_with_features/section_with_features.html

+ 2
- 2
frappe/website/web_template/section_with_features/section_with_features.html Voir le fichier

@@ -17,12 +17,12 @@
<h3 class="feature-title">{{ feature.title }}</h3>
{%- endif -%}
{%- if feature.content -%}
<p class="feature-content">{{ feature.content }}</p>
<p class="feature-content">{{ frappe.utils.md_to_html(feature.content) }}</p>
{%- endif -%}
</div>
<div>
{%- if feature.url -%}
<a href="{{ feature.url }}" class="feature-url stretched-link">Learn more →</a>
<a href="{{ feature.url }}" class="feature-url stretched-link"> {{ _("Learn more") }} →</a>
{%- endif -%}
</div>
</div>


Chargement…
Annuler
Enregistrer