API Reference includes an unnecessary "\n" in each page title.
For example: http://docs.angularjs.org/api/ng.directive:a The title includes an extra line break where shown below. a (directive in module ng"\n") As a result the closing parentheses is not displayed at all.
This is caused because docs generation doesn't consider the "code" tag to be an inline tag.
The title is generated by Line 841-852 in https://github.com/angular/angular.js/blob/master/docs/src/ngdoc.js Most notably line 848 this.tag('code', module);
Line 69-70 in https://github.com/angular/angular.js/blob/master/docs/src/dom.js if (!INLINE_TAGS[name]) this.out.push('\n');
INLINE_TAGS only includes "a", "b", and "i" tags
As part of our effort to clean out old issues, this issue is being automatically closed since it has been inactivite for over two months.
Please try the newest versions of Angular (1.0.8 and 1.2.0-rc.1), and if the issue persists, comment below so we can discuss it.
Thanks!