This repository was archived by the owner on Dec 14, 2023. It is now read-only.
1.0.5
Pre-release
Pre-release
Potentially breaking changes
asHtml()used to be passed thelinkResolverfunction; now it will have to expect a fullctxobject that contains thelinkResolverfunction, so that all of the context can be used to build links (for instancectx.ref).- all
linkResolverfunctions are also expected to receive two parameters, the context and the current document we're trying to resolve:linkResolver(ctx, doc). Previously,linkResolver(doc)was tolerated, but the underlying kit didn't know what to do with it when it was passed to it, inasHtmlcalls for instance.
Bugfixes
- Calling
SearchForm.query('')(with an empty string) used to generate an error 500, now it simply ignores the call, as should be.
New features
- Full support of
asHtml()onStructuredText, including embeds, lists and spans (strongs, ems, links).