-
-
Notifications
You must be signed in to change notification settings - Fork 174
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
Cannot render tag if formatted in a certain way. #540
Comments
I wonder if this is the same as #449. If you put your markdown in here: https://markdown-to-jsx.quantizor.dev/ The output you get is: |
@quantizor is this an issue you are aware about? Do you have any thoughts on it? For me it is currently something that prevents me from using the library which I would otherwise be very happy to use |
Hi, yes likely a case of some regexes not accounting for newlines properly. Will look into it |
* refactor: trim style keys * fix: handle newlines inside HTML tag brackets Closes #540
* refactor: trim style keys * fix: handle newlines inside HTML tag brackets Closes quantizor#540 Signed-off-by: Innei <i@innei.in>
If we do this
This error would be thrown
But if we inline the entire string, the content is rendered correctly with no errors
Not sure why this happens, but we were using another library and it was rendering the first version just fine.
The text was updated successfully, but these errors were encountered: