sanity-io / block-content-to-hyperscript

Function for transforming Sanity block content to HyperScript
MIT License
17 stars 8 forks source link

Fix for call to urlBuilder #5

Closed nerdegutt closed 6 years ago

nerdegutt commented 6 years ago

Pass entire image node to builder, instead of just the asset. Passing just the asset will lose hotspot metadata etc.

rexxars commented 6 years ago

Thanks! I've added some more tests to ensure there are no regressions going forward. Published as v1.3.5