DOC: StringMethods html doc fixes
I noticed some of the HTML links are broken in `text.rst`

@sinhrks @jorisvandenbossche this is related to https://github.com/pydata/pandas/pull/9843 but can be independently merged
