Skip to content

Commit

Permalink
Merge pull request #148 from hyperaudio/147-missing-close-tag
Browse files Browse the repository at this point in the history
add closing div for transcript
  • Loading branch information
maboa authored Jan 6, 2024
2 parents 4ad16ad + 9965839 commit ba8448d
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions wp-hyperaudio/hyperaudio.php
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
* Plugin Name: Hyperaudio Interactive Transcript
* Plugin URI: https://hyper.audio
* Description: Hyperaudio Interactive Transcript Maker and Player – maximise your audio and video content's accessibility to humans and search engines.
* Version: 1.0.21
* Version: 1.0.22
* Author: Mark Boas
* Author URI: https://maboa.it
**/
Expand Down Expand Up @@ -215,8 +215,7 @@ function hyperaudio_shortcode_handler($atts, $transcript, $tag)
$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>';
}

$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 );

$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>';

$o .= '<script>
ShareThis({
Expand Down

0 comments on commit ba8448d

Please sign in to comment.