mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-11-07 16:44:07 +01:00
Et2Link: If only breaking on a certain character, don't break on dash either (in addition to space)
This commit is contained in:
parent
8e0a3a2755
commit
2eeff5ca38
@ -195,7 +195,9 @@ export class Et2Link extends ExposeMixin<Et2Widget>(Et2Widget(LitElement)) imple
|
||||
// zero-width space after the break string
|
||||
title = title
|
||||
.replace(this.breakTitle, this.breakTitle.trimEnd() + "\u200B")
|
||||
.replace(/ /g, '\u00a0');
|
||||
.replace(/ /g, '\u00a0')
|
||||
// Change hyphen to non-breaking hyphen
|
||||
.replace(/-/g, '‑');
|
||||
}
|
||||
return html`
|
||||
<div part="base" class="link et2_link" draggable="${this.app == 'file'}" @dragstart=${this._handleDragStart.bind(this, this.dataset)}>
|
||||
|
Loading…
Reference in New Issue
Block a user