Class wikiinternallink added infinitely

Hello all,

I have noticed some strange behaviour with links, look for example at this minimal page:

foo [[^^bar^^>>path:#footnote-1]]

The page will look like this when I edit the page text anywhere in WYSIWYG editor and save, i.e. add an o to foo:

fooo [[(% class="wikiinternallink" %)^^bar^^>>path:#footnote-1]]

Fine, but adding another o will produce:

foooo [[(% class="wikiinternallink wikiinternallink" )^^bar^^>>path:#footnote-1]]

So every time the page gets edited, wikiinternallink is added.
This will clutter the diff and page itself, so how can I prevent it?

Note: It seems like removing the ^^...^^ formatting prevents this, but I have also seen it with links in tables etc.

Hi,

Unfortunately this is a known XWiki Rendering bug, see Loading... .

I’ve fixed the bug, the fix won’t be in 17.4.0, but it will be in 17.5.0 and in 16.10.9.

2 Likes