Fix regression from
e0b018706f
where opening to a code comment via hash link would give this error:
<img width="1247" alt="image"
src="f9aaeded-8492-4416-9a73-afa0c56220a7">
---------
Co-authored-by: wxiaoguang <wxiaoguang@gmail.com>
(cherry picked from commit ce130ae8daa37c977443045390209e9095dc42b1)