Problema de integración de Slack con enlaces relativos de encabezado

Hi, I noticed an odd interaction with DiscoTOC and Slack integration. Basically the header links don’t properly post.

See details here

4 Me gusta

That is because the heading links do not include the path to the topic. For example <a name="overview" href="#overview">. The Chat Integration plugin is attempting to convert relative links into absolute links by prepending the forum’s root URL to any links in the post, but that is not going to work for the header links because the path to the topic is missing.

A possible solution would be for us to add the path to the topic to the TOC href element. For example, instead of setting <a name="overview" href="#overview">, the href element would be set to something like /t/your-topic-slug/1234#overview".

4 Me gusta

Encuentro que esto ocurre cuando se publican publicaciones con encabezados en Slack: el texto del encabezado va precedido de un enlace a la página de inicio del sitio anclado con el nombre del encabezado.

Por ejemplo, una publicación como esta:

Aparece así en Slack:

2 Me gusta

Sí, parece que este es un problema con nuestros enlaces automáticos de encabezado, que existen incluso sin el componente temático DiscoTOC. Actualizaré el título para reflejar esto.

5 Me gusta

Hola, ¿tienes alguna novedad sobre este error? Gracias.

3 Me gusta

Creo que permanece en pr-welcome. Notifiqué al equipo de experiencia del personal, que está al tanto del problema.

4 Me gusta