Skip to content

Commit ba8448d

Browse files
authored
Merge pull request #148 from hyperaudio/147-missing-close-tag
add closing div for transcript
2 parents 4ad16ad + 9965839 commit ba8448d

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

wp-hyperaudio/hyperaudio.php

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
* Plugin Name: Hyperaudio Interactive Transcript
44
* Plugin URI: https://hyper.audio
55
* Description: Hyperaudio Interactive Transcript Maker and Player – maximise your audio and video content's accessibility to humans and search engines.
6-
* Version: 1.0.21
6+
* Version: 1.0.22
77
* Author: Mark Boas
88
* Author URI: https://maboa.it
99
**/
@@ -215,8 +215,7 @@ function hyperaudio_shortcode_handler($atts, $transcript, $tag)
215215
$hyperaudioLink = '<div class="hyperaudio-link" style="text-align:right; font-size:65%; line-height: 1.0; font-weight: 600; font-family: Work Sans, Helvetica, Arial, sans-serif;"><a href="https://hyperaudio.site">A Hyperaudio Production</a></div>';
216216
}
217217

218-
$o .='<div id="'. esc_attr( $transcriptid ) .'" class="hyperaudio-transcript" style="overflow-y:scroll; width:'. esc_attr( $width ) .'; height:'. esc_attr( $transcriptHeight ) .'; position:relative; border-style:dashed; border-width: 1px; border-color:#999; padding: 8px">'. wp_kses_post( $transcript ) . wp_kses_post( $hyperaudioLink );
219-
218+
$o .='<div id="'. esc_attr( $transcriptid ) .'" class="hyperaudio-transcript" style="overflow-y:scroll; width:'. esc_attr( $width ) .'; height:'. esc_attr( $transcriptHeight ) .'; position:relative; border-style:dashed; border-width: 1px; border-color:#999; padding: 8px">'. wp_kses_post( $transcript ) . wp_kses_post( $hyperaudioLink ) . '</div>';
220219

221220
$o .= '<script>
222221
ShareThis({

0 commit comments

Comments
 (0)