Closed steffenri closed 1 year ago
@steffenri This is a named anchor. It should ideally be converted into an id on the h2
tag, which can serve as the target for a link in the same way as a named anchor. It should not be converted into a p
tag, which is not valid HTML inside h2
and would affect spacing badly if it was.
@steffenri And, this looks like a duplicate of #15
@davisagli It is. Closed.
It's already closed. I am going to bed :D
Steps to reproduce:
We have this richtext data:
When running the blocks-conversion-tool on that, we get the following:
It's converted into a Link (although there is no Link, just the tag.) We should catch this and just create it as a normal p-tag.