1
0
mirror of https://github.com/vrana/adminer.git synced 2025-08-07 07:06:45 +02:00

Fix whitespace

This commit is contained in:
Jakub Vrana
2021-02-08 15:50:02 +01:00
parent 4310d710d9
commit 701c5cd73b
5 changed files with 7 additions and 7 deletions

View File

@@ -40,8 +40,8 @@ tinyMCE.init({
function selectVal(&$val, $link, $field, $original) {
if (preg_match("~_html~", $field["field"]) && $val != '') {
$ellipsis = "<i>…</i>";
$length = strlen($ellipsis);
$ellipsis = "<i>…</i>";
$length = strlen($ellipsis);
$shortened = (substr($val, -$length) == $ellipsis);
if ($shortened) {
$val = substr($val, 0, -$length);