Skip to content

Commit

Permalink
Merge branch 'unescape_shortcodes' into 1.0.13
Browse files Browse the repository at this point in the history
  • Loading branch information
frnsys committed Apr 20, 2017
2 parents df90bbd + 86aeca5 commit f1d1532
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions includes/class-tni-core-shortcodes.php
Original file line number Diff line number Diff line change
Expand Up @@ -164,7 +164,7 @@ public function caption_shortcode( $attr, $content = null ) {

ob_start(); ?>

<figcaption class="wp-caption-text"><?php echo esc_attr( $content ); ?></figcaption>
<figcaption class="wp-caption-text"><?php echo $content; ?></figcaption>

<?php
return ob_get_clean();
Expand All @@ -183,7 +183,7 @@ public function margin_left_shortcode( $attr, $content = null ) {

ob_start(); ?>

<div class="margin-left"><?php echo esc_attr( $content ); ?></div>
<div class="margin-left"><?php echo $content; ?></div>

<?php
return ob_get_clean();
Expand All @@ -202,7 +202,7 @@ public function margin_right_shortcode( $attr, $content = null ) {

ob_start(); ?>

<div class="margin-right"><?php echo esc_attr( $content ); ?></div>
<div class="margin-right"><?php echo $content; ?></div>

<?php
return ob_get_clean();
Expand Down

0 comments on commit f1d1532

Please sign in to comment.