vanilla-framework 4.32.0 → 4.32.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json
CHANGED
|
@@ -7,7 +7,7 @@
|
|
|
7
7
|
#}
|
|
8
8
|
{%- macro vf_text_spotlight(title_text, item_heading_level=2, list_items=[], caller=None) -%}
|
|
9
9
|
{% set has_list = list_items | length >= 2 and list_items | length <= 7 %}
|
|
10
|
-
{% set item_heading_level = item_heading_level | trim %}
|
|
10
|
+
{% set item_heading_level = item_heading_level | trim | int %}
|
|
11
11
|
{%- if item_heading_level not in [2, 4] -%}
|
|
12
12
|
{%- set item_heading_level = 2 -%}
|
|
13
13
|
{%- endif -%}
|