Skip to content

Commit

Permalink
Refactor script code and eliminate unneeded whitespace
Browse files Browse the repository at this point in the history
Refactored and condensed script commands in useful.sh to improve readability and efficiency. Also updated mime encoding format in ContextUtils.php across two repos by removing unnecessary spaces, enhancing data presentation and readability.
  • Loading branch information
hipot committed Dec 29, 2023
1 parent cd74bb1 commit 45d4a1d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/classes/Hipot/Utils/ContextUtils.php
Original file line number Diff line number Diff line change
Expand Up @@ -208,7 +208,7 @@ public static function getInlineBase64Image(string $img_file): ?string
return null;
}

return 'data: '.mime_content_type($img_file).';base64,'.base64_encode(file_get_contents($img_file));
return 'data:'.mime_content_type($img_file).';base64,'.base64_encode(file_get_contents($img_file));
}

/**
Expand Down

0 comments on commit 45d4a1d

Please sign in to comment.