Expandir la barra de logros de la comunidad.

Adobe Experience Platform (AEP) & Apps User Groups are live to Network, learn, and share in your regional locations.

Mark Solution

Esta conversación ha sido bloqueada debido a la inactividad. Cree una nueva publicación.

RESUELTAS

trying to split eMdash (long dash) but DTM converts my dash to short dash

Avatar

Level 4

var dates = document.querySelector('#txDates').textContent.split(' — ');

 

trying to split the long dash that I have on my content page but whenever i save the rule in DTM, it converts the long dash to short dash. I can't use &eMdash; because it displays like the following:

 

<span>Monday, Mar 16, 2020</span> — <span>Wednesday, Mar 18, 2020</span>

 

any help is greatly appreciated.

1 solución aceptada

Avatar

Respuesta correcta de
Level 4

Perhaps try using the HTML entity code for the EM Dash

 

&#8212;

 

 

Ver la solución en mensaje original publicado

1 Respuesta

Avatar

Respuesta correcta de
Level 4

Perhaps try using the HTML entity code for the EM Dash

 

&#8212;