unfoldingWord / door43-preview-app

Door43 Preview app for rendering DCS branches & tags
https://door43-preview-box3.netlify.app/
MIT License
0 stars 0 forks source link

Not all RC links get Titles and links in PDF #32

Open richmahn opened 5 months ago

richmahn commented 5 months ago

From Abel:

We found that some links for ta articles or tw articles are not being replaced when they are in the body of a translationNote, we tried different formats of RC links in MD but no one worked.

At first we thought it was a format thing, but then I resorted the list of links and realized that it has something to do with the position of the links, links of the list that are in even positions are not rendered as links but left as markdown. It is kind of tricky to see because it seems like the list had more links that it actually has since the content of the link also contain commas. image

In the image above, the second link is not rendered, first and third are. There are only three links even if it looks like there were more. But that is fine.

In this other example, links 1 and 3 are rendered, but 2 and 4 are not: image

richmahn commented 5 months ago

Yeah, I need to scan TN notes for rc links and make sure they are replaced in the rendering.