Open michitux opened 11 months ago
This seems to happen because of the following sequence of events:
The easiest fix could be to not update the content if nothing that affects the content has been changed, but this is of course not a complete fix. Alternatively, it could be decided that XWiki syntax isn't supported in the content of the task macro, but that contradicts the fact that you can use the mention and date macro there and supporting macros but not other wiki syntax seems difficult as it would need a custom parser and also editing might be non-trivial.
As an idea for a fix, I wondered if it wouldn't be possible to synchronize the content of the task macro with the description of the task instead of the task's name. The task's name could be left empty and computed from the task's description instead, but this might create issues with filtering based on the task's name. Alternatively, an update listener could update the task's name based on changes in the description if the task's name corresponds to the old description.
Steps to reproduce:
/task
and pressing enter.Check [[this website>>https://www.xwiki.com]]
.Expected result:
Nothing changes during reload, the link is still present.
Actual result:
The link is gone.