Преглед изворни кода

fix: markdown support for section with features

version-14
Jannat Patel пре 3 година
родитељ
комит
7da95d4f2e
1 измењених фајлова са 2 додато и 2 уклоњено
  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 Прегледај датотеку

@@ -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>


Loading…
Откажи
Сачувај