-
Notifications
You must be signed in to change notification settings - Fork 3.3k
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
[Bug]: Incorrect rendering of inline code inside of links #583
Comments
Here is the outline of the fix I'm currently using, and it works ok as far as I can see:
HTH |
@dmurat Thanks for point this out and for your suggestion. Looks like you already fixed it. Could you raise a PR for this? |
@aravindkarnam Sure, I can try. One question though, are there any existing tests where I can look for examples? |
@dmurat There are several examples in |
@dmurat Were you able to make any progress on this? |
@aravindkarnam Sry, didn't find time. Maybe during this or next week if you can wait. |
@dmurat No worries. I went through you code suggestions, it works as expected. I added these changes to relevant files and tested it. You will be attributed for your contribution in next release. Thanks again! |
@dmurat This also fixed an issue I was seeing. Thank you for identifying a solution and @aravindkarnam for getting it in. |
* spelling change in prompt * gpt-4o-mini support * Remove leading Y before here * prompt spell correction * (Docs) Fix numbered list end-of-line formatting Added the missing "two spaces" to add a line break * fix: access downloads_path through browser_config in _handle_download method - Fixes #585 * crawl * fix: unclecode/crawl4ai#592 * fix: unclecode/crawl4ai#583 * Docs update: unclecode/crawl4ai#649 * fix: unclecode/crawl4ai#570 * Docs: updated example for content-selection to reflect new changes in yc newsfeed css * Refactor: Removed old filters and replaced with optimised filters * fix:Fixed imports as per the new names of filters * Tests: For deep crawl filters * Refactor: Remove old scorers and replace with optimised ones: Fix imports forall filters and scorers. * fix: awaiting on filters that are async in nature eg: content relevance and seo filters * fix: unclecode/crawl4ai#592 * fix: unclecode/crawl4ai#715 --------- Co-authored-by: DarshanTank <[email protected]> Co-authored-by: Tuhin Mallick <[email protected]> Co-authored-by: Serhat Soydan <[email protected]> Co-authored-by: cardit1 <[email protected]> Co-authored-by: Tautik Agrahari <[email protected]>
crawl4ai version
0.4.248b3
Expected Behavior
Correct rendering of links containing inline code. For example:
should be rendered as
Current Behavior
Currently, the rendering of links with inline code outputs inline code first, followed by correct but empty links like in
Is this reproducible?
Yes
Inputs Causing the Bug
Steps to Reproduce
Code snippets
OS
macOS
Python version
3.12.7
Browser
Chrome
Browser version
Version 132.0.6834.160 (Official Build) (arm64)
Error logs & Screenshots (if applicable)
No response
The text was updated successfully, but these errors were encountered: