Bläddra i källkod

fix: markdown support for section with features

version-14
Jannat Patel 3 år sedan
förälder
incheckning
7da95d4f2e
1 ändrade filer med 2 tillägg och 2 borttagningar
  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 Visa fil

@@ -17,12 +17,12 @@
<h3 class="feature-title">{{ feature.title }}</h3> <h3 class="feature-title">{{ feature.title }}</h3>
{%- endif -%} {%- endif -%}
{%- if feature.content -%} {%- if feature.content -%}
<p class="feature-content">{{ feature.content }}</p>
<p class="feature-content">{{ frappe.utils.md_to_html(feature.content) }}</p>
{%- endif -%} {%- endif -%}
</div> </div>
<div> <div>
{%- if feature.url -%} {%- 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 -%} {%- endif -%}
</div> </div>
</div> </div>


Laddar…
Avbryt
Spara