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

Inline content item resolver provided an invalid HTML 5 fragment #247

Open
petrsvihlik opened this issue Nov 24, 2020 · 1 comment
Open
Labels
documentation enhancement good first issue groomed The issue has been groomed and should be in a good shape. refactoring rich-text Features and bugs related to rich-text resolution. up-for-grabs
Milestone

Comments

@petrsvihlik
Copy link
Contributor

Inline content item resolver provided an invalid HTML 5 fragment

https://github.com/Kentico/kontent-delivery-sdk-net/blob/4e28e3352577e3ee016de3c65e48a646e2775943/Kentico.Kontent.Delivery/ContentItems/InlineContentItems/InlineContentItemsProcessor.cs#L130

Check if the message can be any made more detailed. E.g. include information on whether the content was retrieved successfully.

Repro steps: clone the repo and mess up the https://github.com/alanta/Memoirs-Theme/blob/main/Resolvers/QuoteResolver.cs

@petrsvihlik petrsvihlik added this to the vNext milestone Nov 24, 2020
@alanta
Copy link

alanta commented Nov 24, 2020

With respect to Kontent.Statiq, it would be nice if this type of error can somehow be published while loading the items from Kontent so they can be reported during site generation. I'm thinking of a hook (like an event) that can be subscribed to so that errors can be reported as they occur.

@petrsvihlik petrsvihlik added the rich-text Features and bugs related to rich-text resolution. label Jan 20, 2021
@petrsvihlik petrsvihlik modified the milestones: v15, v16 - rich-text Feb 7, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
documentation enhancement good first issue groomed The issue has been groomed and should be in a good shape. refactoring rich-text Features and bugs related to rich-text resolution. up-for-grabs
Projects
None yet
Development

No branches or pull requests

2 participants