You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have nested elements, say X inside Y, and both are blank:
<X>
<Ydata-name="abc"></Y>
</X>
Turndown processes both of them, and I can successfully convert Y to something meaningful (using blankReplacement). But for X, which is just a container, I am unable to use the rendered version of Y. Of course I can recursively render its children again, but it's not optimized.
I have nested elements, say X inside Y, and both are blank:
Turndown processes both of them, and I can successfully convert Y to something meaningful (using
blankReplacement
). But for X, which is just a container, I am unable to use the rendered version of Y. Of course I can recursively render its children again, but it's not optimized.Here is the link to the sandbox: https://codesandbox.io/s/optimistic-roentgen-8uq4rp?file=/src/index.js
Is there any workaround for this?
The text was updated successfully, but these errors were encountered: