How can I point to an internal anchor using core menu? We have a navigation menu created using Drupal's built-in menu system. One of our menu items has the path set to "node/100770#digital-anchor," but when the menu is rendered, it strips off everything to the right of the node ID. I've tried this suggestion (using a named id), but the issue isn't that the browser is ignoring everything the node id; it's that Drupal is actually stripping off everything after the id when the menu is rendered. If I look at the rendered source in the browser, it just isn't there.

How can we point to an internal anchor (or named element, if you believe that anchors are deprecated) using the default menu?
I don't think you can do that through the UI.

However, you should be able to specifify it with menu_link_save() in a module, for example in a hook_install() implementation. See the options key.

Looking at url(), something like 'fragment' => 'digital-anchor' should do the trick.