DOC: Fixes minor formatting issue related to nested inline markup.
DOC: Fixes minor formatting issue related to nested inline markup.

We adopt the solution suggested by @WarrenWeckesser in his discussion of the
issue. Closes #20676.

jakirkham/numpy,jakirkham/numpy,jakirkham/numpy,mhvk/numpy,charris/numpy,rgommers/numpy,seberg/numpy,mattip/numpy,endolith/numpy,seberg/numpy,numpy/numpy,anntzer/numpy,endolith/numpy,numpy/numpy,jakirkham/numpy,mhvk/numpy,endolith/numpy,charris/numpy,anntzer/numpy,numpy/numpy,seberg/numpy,anntzer/numpy,endolith/numpy,mhvk/numpy,rgommers/numpy,numpy/numpy,charris/numpy,rgommers/numpy,rgommers/numpy,pdebuyl/numpy,mattip/numpy,mhvk/numpy,jakirkham/numpy,seberg/numpy,charris/numpy,pdebuyl/numpy,mattip/numpy,mhvk/numpy,pdebuyl/numpy,mattip/numpy,anntzer/numpy,pdebuyl/numpy