I am using the same code included in the answer of the question: How can I add words chapter and appendix in TOC with document class book?
Then, I use the hyperref package and the added words are not included in the hyperlinks of the TOC.
How can I include them in the hyperlinks?
Here is my current output:
where the desired hyperlinks should be applied to the text in black, and the present hyperlinks are denoted in blue.