diff --git a/CHANGELOG.md b/CHANGELOG.md index 127c141..22f8e9c 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -4,11 +4,17 @@ GSL changes from releases. You can send an issue : - repo: https://git.a-lec.org/echolib/gsl/-/issues - Contact xmpp: im@echolib.re +## [0.0.91] +### Fix +- Valid style for img: width & height in one style="" + + ## [0.0.90] ### Changes - Statoolinfos: Genereated with www (add/remove) - CSS div between titles : xxx_content xxx_content-hX + ## [0.0.9] ## Please, see help (and documentations in help folder) diff --git a/control b/control index 2daf790..0be563c 100644 --- a/control +++ b/control @@ -1,5 +1,5 @@ Package: egsl -Version: 0.0.90 +Version: 0.0.91 Section: custom Priority: optional Architecture: all diff --git a/new-version.md b/new-version.md index db59502..f2dbc0e 100644 --- a/new-version.md +++ b/new-version.md @@ -1,4 +1,4 @@ -## [0.0.90] +## [0.0.91] ## Please, see help (and documentations in help folder) diff --git a/usr/local/bin/gsl b/usr/local/bin/gsl index 69e7a70..57ed695 100755 --- a/usr/local/bin/gsl +++ b/usr/local/bin/gsl @@ -1,5 +1,5 @@ #!/bin/bash -# Version: 0.0.90 +# Version: 0.0.91 # file: gsl # Folder: /usr/local/bin # By echolib (XMPP: im@echolib.re) diff --git a/var/lib/gsl/CHANGELOG.md b/var/lib/gsl/CHANGELOG.md index 127c141..22f8e9c 100644 --- a/var/lib/gsl/CHANGELOG.md +++ b/var/lib/gsl/CHANGELOG.md @@ -4,11 +4,17 @@ GSL changes from releases. You can send an issue : - repo: https://git.a-lec.org/echolib/gsl/-/issues - Contact xmpp: im@echolib.re +## [0.0.91] +### Fix +- Valid style for img: width & height in one style="" + + ## [0.0.90] ### Changes - Statoolinfos: Genereated with www (add/remove) - CSS div between titles : xxx_content xxx_content-hX + ## [0.0.9] ## Please, see help (and documentations in help folder) diff --git a/var/lib/gsl/new-version.md b/var/lib/gsl/new-version.md index db59502..f2dbc0e 100644 --- a/var/lib/gsl/new-version.md +++ b/var/lib/gsl/new-version.md @@ -1,4 +1,4 @@ -## [0.0.90] +## [0.0.91] ## Please, see help (and documentations in help folder) diff --git a/var/lib/gsl/scripts/gsl__post_makers b/var/lib/gsl/scripts/gsl__post_makers index 59f49d0..ddf6f8a 100644 --- a/var/lib/gsl/scripts/gsl__post_makers +++ b/var/lib/gsl/scripts/gsl__post_makers @@ -660,20 +660,24 @@ do image_src="src=\"${srv_uri}images/$header_f2\"" image_alt="alt=\"$header_f3\" title=\"$header_f3\"" - [[ "$width" ]] && image_width=" style=\"width:${width};\"" - [[ "$height" ]] && image_height=" style=\"height:${height};\"" + if [[ "$height" && "$width" ]];then + image_style=" style=\"width:$width;height:$height;\"" + elif [[ "$width" ]];then + image_style=" style=\"width:${width};\"" + elif [[ "$height" ]];then + image_style=" style=\"height:${height};\"" + fi HTML_image=` printf '%s%s\n' \ ""` + "$image_style />"` if [[ "$target" ]];then image_clink="class=\"${site_css}_image-link$link_class\"" HTML_image=` - printf '%s%s%s%s\n' \ - "" \ + printf '%s%s%s\n' \ + "" \ "$HTML_image" \ ""` fi