Skip to content

Commit

Permalink
add terminal-less to images in less
Browse files Browse the repository at this point in the history
  • Loading branch information
jcubic committed Sep 24, 2024
1 parent 0577085 commit a0f365a
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion js/less.js
Original file line number Diff line number Diff line change
Expand Up @@ -331,7 +331,12 @@
var m = part.match(img_re);
if (m) {
var img = m[2];
var cls = m[1];
var cls = m[1].trim();
if (cls) {
cls += ' terminal-less';
} else {
cls = 'terminal-less';
}
var alt = m[3];
var rect = cursor_size();
var opts = {
Expand Down

0 comments on commit a0f365a

Please sign in to comment.