Skip to content
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

jsii-pacmak: H5 tags on Markdown files break Python packaging #4418

Open
automartin5000 opened this issue Feb 5, 2024 · 0 comments
Open
Labels
bug This issue is a bug. p2

Comments

@automartin5000
Copy link

Describe the bug

.md files that have H5 tags (#####) and are included to be packaged is breaking packaging with:
TypeError: Cannot read properties of undefined (reading 'repeat')

Expected Behavior

jsii-pacmak completes Python packaging successfully

Current Behavior

TypeError: Cannot read properties of undefined (reading 'repeat')

Reproduction Steps

I have inline documentation to be generated by jsii-docgen. I have no issues when I use H1-H4 header tags in my JsDoc-style comments. But when I use H5 header tags (#####), jsii-pacmak fails on Python packaging. This completes successfully for Javascript. Compilation succeeds successfully.

Possible Solution

Unknown

Additional Information/Context

No response

SDK version used

5.3.13/1.94.0

Environment details (OS name and version, etc.)

macOS Sonoma

@automartin5000 automartin5000 added bug This issue is a bug. needs-triage This issue or PR still needs to be triaged. labels Feb 5, 2024
@mrgrain mrgrain added p1 p2 and removed needs-triage This issue or PR still needs to be triaged. p1 labels Apr 9, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug This issue is a bug. p2
Projects
None yet
Development

No branches or pull requests

2 participants