diff --git a/control b/control index 397a593..d38e35c 100644 --- a/control +++ b/control @@ -1,5 +1,5 @@ Package: egsl -Version: 0.0.18 +Version: 0.0.19 Section: custom Priority: optional Architecture: all diff --git a/usr/local/bin/gsl b/usr/local/bin/gsl index c3babc2..7339b5a 100755 --- a/usr/local/bin/gsl +++ b/usr/local/bin/gsl @@ -1,5 +1,5 @@ #!/bin/bash -# Version: 0.0.18 +# Version: 0.0.19 # file: gsl # Folder: /usr/local/bin # By echolib diff --git a/var/lib/gsl/scripts/gsl__post_makers b/var/lib/gsl/scripts/gsl__post_makers index 7a524c4..c5caff3 100644 --- a/var/lib/gsl/scripts/gsl__post_makers +++ b/var/lib/gsl/scripts/gsl__post_makers @@ -263,10 +263,8 @@ gsl__make_link() { gsl_post_hf_1="${gsl_post_hf_1}" gsl_post_hf_1_t="${gsl_post_hf_1}+" -[[ "$sl_post_hf_3" ]] \ - && gsl_html_link_title=" title=\"$sl_post_hf_3\"" - -echo -ne "\r\033[2K: Converting Links... $gsl_post_hf_1" +[[ "$gsl_post_hf_3" ]] \ + && gsl_html_link_title=" title=\"$gsl_post_hf_3\"" # target blank gsl_html_link_t=` @@ -275,6 +273,8 @@ printf '%s%s%s%s' \ "target=\"blank\">" \ "$gsl_post_hf_1" \ ""` + +echo -ne "\r\033[2K: Converting Links... $gsl_post_hf_1" sed -i "s|_${gsl_post_hf_1_t}|$gsl_html_link_t|g" "$gsl_tmp_post" # No Target @@ -283,7 +283,9 @@ printf '%s%s%s' \ "" \ "$gsl_post_hf_1" \ ""` + sed -i "s|_${gsl_post_hf_1}|$gsl_html_link|g" "$gsl_tmp_post" +unset gsl_post_hf_3 gsl_html_link_title } #======================================================================