@penskemediacorp/larva-patterns 1.11.0 → 1.12.0

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.
@@ -3,6 +3,7 @@ module.exports = {
3
3
  c_figcaption_caption_markup: 'Protest art hangs at Hong Kong <em>International Airport</em>.',
4
4
  c_figcaption_caption_classes: '',
5
5
  c_figcaption_credit_text: 'Courtesty Wong Ka Ying',
6
+ c_figcaption_credit_text_markup: '',
6
7
  c_figcaption_credit_classes: '',
7
8
  c_figcaption_inner: false,
8
9
  c_figcaption_inner_classes: '',
@@ -6,8 +6,13 @@
6
6
  {% if c_figcaption_caption_markup %}
7
7
  <span class="{{ c_figcaption_caption_classes }}">{{ c_figcaption_caption_markup|raw }}</span>
8
8
  {% endif %}
9
- {% if c_figcaption_credit_text %}
10
- <cite class="{{ c_figcaption_credit_classes }}">{{ c_figcaption_credit_text }}</cite>
9
+
10
+ {% if c_figcaption_credit_text_markup %}
11
+ <cite class="{{ c_figcaption_credit_classes }}">{{ c_figcaption_credit_text_markup }}</cite>
12
+ {% else %}
13
+ {% if c_figcaption_credit_text %}
14
+ <cite class="{{ c_figcaption_credit_classes }}">{{ c_figcaption_credit_text }}</cite>
15
+ {% endif %}
11
16
  {% endif %}
12
17
 
13
18
  {% if c_figcaption_inner %}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@penskemediacorp/larva-patterns",
3
- "version": "1.11.0",
3
+ "version": "1.12.0",
4
4
  "description": "Larva markup patterns.",
5
5
  "author": "laras126 <laras126@gmail.com>",
6
6
  "homepage": "https://github.com/Penske-Media-Corp/pmc-larva/tree/master/packages/patterns#readme",
@@ -25,5 +25,5 @@
25
25
  "@penskemediacorp/larva-svg": "^1.10.0",
26
26
  "lodash.clonedeep": "^4.5.0"
27
27
  },
28
- "gitHead": "404c13201d3eadae789daab9d759ca7824b360bb"
28
+ "gitHead": "095df04802953f0c9efdc467043c75896613f9ff"
29
29
  }