I have begun this work on db/4667 but don't have time to complete it right now. Upgrading Markdown is causing several other issues. I've fixed some of them on the db/4667 branch, but further work is needed. The biggest issue is with the [TOC] macro and artifact links ([WikiPage] or [tickets:#1234]). 0d9cacfeb5c5518af3236495e511593a577f66ea addresses some of the TOC syntax issues, but the real problem is in artifact links which I started working on in 4a964997122dfb95cff538764a735efdecb7b58a by changing the pre-process post-process approach to an inline expansion. This seems more correct and should avoid the problem of double-processing from the TOC macro. I was starting to implement the artifact link by extending Markdown's own ForgeLinkPattern class. That will have the benefit of resolving [#2385] if it works.
Looks like the latest Markdown will fix this
I have begun this work on db/4667 but don't have time to complete it right now. Upgrading Markdown is causing several other issues. I've fixed some of them on the db/4667 branch, but further work is needed. The biggest issue is with the [TOC] macro and artifact links (
[WikiPage]
or[tickets:#1234]
).0d9cacfeb5c5518af3236495e511593a577f66ea
addresses some of the TOC syntax issues, but the real problem is in artifact links which I started working on in4a964997122dfb95cff538764a735efdecb7b58a
by changing the pre-process post-process approach to an inline expansion. This seems more correct and should avoid the problem of double-processing from the TOC macro. I was starting to implement the artifact link by extending Markdown's own ForgeLinkPattern class. That will have the benefit of resolving [#2385] if it works.Related
Tickets:
#2385Created #183: [#4667] TOC hierarchy bug / upgrade Markdown (2cp)
Related
Tickets:
#4667Closed #183. Branch 42cc_4667.
We have changed artifact links and macro to use an inline expansion. It fixes [#2385] as well.
Related
Tickets:
#2385Found one issue so far:
[[project_admins]]
macro generates two<br>
tags between each project admin link, instead of one.Created #203: [#4667] Fix project_admins macro (1cp)
Related
Tickets:
#4667Hm, I've tried it on a sandbox and it generates one
<br>
for me:What I did:
pip install -r requirements.txt
to install new markdownClosed #203. Branch
42cc_4667