redoc icon indicating copy to clipboard operation
redoc copied to clipboard

h1 and h2 tags duplicated twice

Open rankery opened this issue 4 years ago • 7 comments

So i found an issue. Screenshot from 2020-11-09 19-31-29

As u can see h1 and h2 headers and duplicated. h3 working well but sadly when i put <!-- ReDoc-Inject: <security-definitions> --> under it.

So HTR (easy way):

  1. Download ur own demo ssr (https://github.com/Redocly/redoc/blob/master/demo/ssr/index.ts)
  2. Get a copy of file and provide a link (i did it with https://www.npoint.io/)
  3. Add to description something like that \n # Random

Screenshot from 2020-11-09 19-53-39

P.S. Also text under the tags duplicated too

rankery avatar Nov 09 '20 17:11 rankery

Same issue here.

kikofernandez avatar Feb 25 '21 20:02 kikofernandez

To get around it, you can use h3 instead. I think this issue should probably open again #1150

kikofernandez avatar Feb 26 '21 07:02 kikofernandez

We also have this bug. Is it regression or it was never fixed?

skalecki-imblox avatar Mar 08 '21 16:03 skalecki-imblox

We have the same issue here. That would simply require a swap of h1 -> h2

lpaderiAltravia avatar Jun 24 '21 13:06 lpaderiAltravia

I think this issue should probably open again #1150

Yes

osamaramihafez avatar Sep 01 '21 17:09 osamaramihafez

We are also getting bitten by this bug. We are using 2.0.0-rc.63.

jaltin avatar Feb 08 '22 15:02 jaltin

https://github.com/Redocly/redoc/issues/2041

AlexVarchuk avatar Jul 08 '22 13:07 AlexVarchuk

It seems fixed here. If it still reproduces please add a definition which not work.

AlexVarchuk avatar Sep 06 '22 13:09 AlexVarchuk