Pledge Form: Allow HTML within descriptions.

Fixes #63
This commit is contained in:
Ian Dunn 2019-10-30 13:09:17 -07:00
parent 782a40bcda
commit e61ce467cb
No known key found for this signature in database
GPG key ID: 99B971B50343CBCB
3 changed files with 19 additions and 4 deletions

View file

@ -49,7 +49,7 @@ get_header(); ?>
<h2><?php esc_html_e( 'About', 'wporg' ); ?></h2>
<div class="pledge-company-description">
<?php echo wp_kses_post( wpautop( $post->{ META_PREFIX . 'org-description' } ) ); ?>
<?php echo wp_kses_data( wpautop( $post->{ META_PREFIX . 'org-description' } ) ); ?>
</div>
<?php if ( ! empty( $contributors ) ) : ?>

View file

@ -53,7 +53,7 @@ $contributor_title = sprintf(
<div class="entry-content">
<?php
echo wp_kses_post( $content );
echo wpautop( wp_kses_data( $content ) );
?>
<div class="pledge-contributors">