-
Notifications
You must be signed in to change notification settings - Fork 508
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Local build error for translated-content (macro parsing / h2m macro calls conversion incl. JSON / arrays) #4744
Comments
When trying to minimize the case, I can see that this is not due to the French/locale content on the side but rather the presence of
|
When looking for this form of macro call, I'm seeing it only for this doc (over the whole docset which is mdn/content). I'm going to submit a PR to remove the escape which breaks the parser. Note to self: I used this regexp |
@SphinxKnight Thank you so much for digging into this, much appreciated! ❤️ |
Well, now I think the parser did its job and it's more a "html2md" conversion side effect. I'll try to figure out a PR here to fix the root cause. I would that the probability of this happening again is quite small given the major sections of mdn/content have been converted to markdown and I could find only one occurrence. 💀 to old KS macros |
I am wondering though, would this be worth digging into for other localization communities? We are probably going to activate |
@schalkneethling as far as I can tell, this issue is still valid. I'll (try to) reproduce in the day and will update here. |
Great! Thanks, @SphinxKnight |
@schalkneethling here is the status of local checks with fresh repos (
Hope this helps :) |
Hey @SphinxKnight, Thank you again for all of the information you provided here. This is indeed an issue that needs to be addressed but, we do not currently have the availability to dissect and address this properly. Seeing that so much of the content has already been converted, this always seems like something that is not going to come up a lot. As such, we are going to close this for now but, should someone in the community want to take on this issue, please let us know and we will happily reopen it. |
Steps to reproduce
Actual result
Build error / cf https://github.com/mdn/translated-content/runs/3787142211
Expected result
Build is OK as per production: https://developer.mozilla.org/fr/docs/Web/HTML/Element
Notes
The text was updated successfully, but these errors were encountered: