Skip to content
This repository has been archived by the owner on Mar 26, 2021. It is now read-only.

Commit

Permalink
Closed <p> tags.
Browse files Browse the repository at this point in the history
  • Loading branch information
mikeschinkel committed Jul 8, 2016
1 parent 2f35137 commit 72bd0f4
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions classes/NPRAPIWordpress.php
Original file line number Diff line number Diff line change
Expand Up @@ -555,9 +555,9 @@ function get_transcript_body( $story ) {
if ( empty( $body_xml->paragraph ) || ! is_array( $body_xml->paragraph ) ) {
continue;
}
$transcript_body .= "<p><strong>Transcript :</strong><p>";
$transcript_body .= "<p><strong>Transcript :</strong></p>";
foreach ( $body_xml->paragraph as $paragraph ) {
$transcript_body .= ( strip_tags( $paragraph ) ) . '<p>';
$transcript_body .= '<p>' . ( strip_tags( $paragraph ) ) . '</p>';
}
}
}
Expand Down

0 comments on commit 72bd0f4

Please sign in to comment.