mirror of
https://github.com/the-djmaze/snappymail.git
synced 2026-07-13 03:27:39 +03:00
Make img alt="" text maximum of 32 characters #564
This commit is contained in:
parent
c7cf5b1c2c
commit
60d7cbb318
1 changed files with 1 additions and 1 deletions
|
|
@ -325,7 +325,7 @@ export const
|
||||||
{
|
{
|
||||||
setAttribute('data-x-src', value);
|
setAttribute('data-x-src', value);
|
||||||
result.hasExternals = true;
|
result.hasExternals = true;
|
||||||
oElement.alt || (oElement.alt = value.replace(/^.+\/([^/]+)$/, '$1'));
|
oElement.alt || (oElement.alt = value.replace(/^.+\/([^/]+)$/, '$1').slice(0, 32));
|
||||||
}
|
}
|
||||||
else if ('data:image/' === value.slice(0, 11))
|
else if ('data:image/' === value.slice(0, 11))
|
||||||
{
|
{
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue