|
@@ -1380,7 +1380,7 @@ discard block |
|
|
block discarded – undo |
|
1380
|
1380
|
$placeholders['label_value:data-label'] = trim( esc_attr( strip_tags( str_replace( '> ', '>', $placeholders['label_value'] ) ) ) ); |
|
1381
|
1381
|
$placeholders['label_value:esc_attr'] = esc_attr( $placeholders['label_value'] ); |
|
1382
|
1382
|
|
|
1383
|
|
- if ( empty( $placeholders['label'] ) && ! empty( $placeholders['label_value'] ) ){ |
|
|
1383
|
+ if ( empty( $placeholders['label'] ) && ! empty( $placeholders['label_value'] ) ) { |
|
1384
|
1384
|
$placeholders['label'] = '<span class="gv-field-label">{{ label_value }}</span>'; |
|
1385
|
1385
|
} |
|
1386
|
1386
|
|
|
@@ -1419,7 +1419,7 @@ discard block |
|
|
block discarded – undo |
|
1419
|
1419
|
foreach ( $placeholders as $tag => $value ) { |
|
1420
|
1420
|
|
|
1421
|
1421
|
// If the tag doesn't exist just skip it |
|
1422
|
|
- if ( false === strpos( $html, $open_tag . $tag . $close_tag ) && false === strpos( $html, $open_tag . ' ' . $tag . ' ' . $close_tag ) ){ |
|
|
1422
|
+ if ( false === strpos( $html, $open_tag . $tag . $close_tag ) && false === strpos( $html, $open_tag . ' ' . $tag . ' ' . $close_tag ) ) { |
|
1423
|
1423
|
continue; |
|
1424
|
1424
|
} |
|
1425
|
1425
|
|
Please login to merge, or discard this patch.