# Bug OP-8019 - Links in table of content not functional when macro in same row as toc

Project: OpenProject
Status: closed
URL: https://community.openproject.org/work_packages/OP-8019

## Open points

_No work packages_

## Details

| Attribute | Value |
| --- | --- |
| Date |  |
| Priority | Medium |
| Module |  |
| Target versions | 11.1.0 |
| Observed in versions | 11.1.0 |
| Sprint | 11.1.0 |
| Backlog bucket |  |
| Bug found in version (deprecated) | 11.1.x |
| Found in mobile app version |  |
| Follow-up feedback e-mail |  |
| Requires doc change | No |
| Accessibility | No |
| Pull preview |  |
| List |  |
| Labels |  |

## People

| Attribute | Value |
| --- | --- |
| Assignee |  |
| Accountable |  |
| Product manager |  |
| Developers |  |
| Designer |  |
| Ordered by |  |
| Signed off by |  |
| Interest by |  |

## Planning

| Attribute | Value |
| --- | --- |
| Relevance |  |

## Costs

| Attribute | Value |
| --- | --- |
| Votes |  |
| Work |  |
| Labor costs |  |

## Description

### **Environment**:

qa-edge

Firefox

### **Steps to reproduce:**

1.  Go to a WYSIWYG editor page (e.g. &quot;Meetings&quot;).
2.  Add a table of contents and several heading.
3.  Insert work package table via macro below first heading.
4.  Save.
5.  Try to click links to headings which are on same row as macro.

### **Actual Behavior**

Links in table of contents are not functional if they are in same row as macro.

<figure class="image"><img src="/api/v3/attachments/20017/content"></figure>

<figure class="image"><img src="/api/v3/attachments/20016/content"></figure>

### **Expected Behavior**

Links should be functional.
