Properly use @ for anchor prefix on sites where useHistory is false, e.g. dartdocs.org

BUG=
R=efortuna@google.com

Review URL: https://codereview.chromium.org//435683003