# Bug XWI-124 - Spaces added around inline wiki page links

Project: Stream XWiki integration
Status: closed
URL: https://community.openproject.org/work_packages/XWI-124

## Open points

_No work packages_

## Details

| Attribute | Value |
| --- | --- |
| Date |  – 2026-06-30 |
| Priority | Medium |
| Module | Integrations / XWiki |
| Target versions | 17.6.0 |
| Observed in versions |  |
| Sprint |  |
| Backlog bucket |  |
| Bug found in version (deprecated) |  |
| Requires doc change | No |
| Accessibility | No |
| Pull preview |  |
| List |  |
| Labels |  |

## People

| Attribute | Value |
| --- | --- |
| Assignee | Ihor Khomenko |
| Accountable |  |
| Product manager |  |
| Developers | Jan Sandbrink |
| Designer |  |
| Ordered by |  |
| Signed off by |  |
| Interest by |  |

## Planning

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

## Costs

| Attribute | Value |
| --- | --- |
| Votes |  |
| Effort (shirt size) |  |
| Work |  |
| Labor costs |  |

## Description

### Steps to reproduce

1.  Add a link to a wiki page to the work package description with some text around
    
    *   e.g. &quot;This is the link: \[link\]&quot;
        
    *   it must be a new/modern link, i.e. added through the &quot;+ Insert&quot; menu
        
2.  Save the description
    
3.  Edit the description again, change something unrelated, save
    
4.  Repeat until satisfied
    

### What is the buggy behavior?

A space is added in front of the wiki page link with each save cycle.

### What is the expected behavior?

Spacing around the wiki page link does not change over time, unless I intentionally change the spacing.

###   

### Environment information

**OpenProject version**

Unreleased version of wiki tab/XWiki integration feature.

**Browser**

*   [x] Chrome
*   [x] Firefox
*   [ ] Safari
*   [ ] Mobile Safari
*   [ ] Other (please specify)
