Fix embedded reference doc link targets.

Clicking on a method or property name will now open the documentation in the same window, rather than a new one, when the documentation is embedded.