Skip to content
This repository was archived by the owner on Dec 4, 2017. It is now read-only.

Conversation

petebacondarwin
Copy link
Contributor

@petebacondarwin petebacondarwin mentioned this pull request Sep 13, 2016
petebacondarwin added a commit to angular/dgeni-packages that referenced this pull request Sep 13, 2016
Related to angular/angular.io#2321
Related to angular/angular.io#2324

BREAKING CHANGE:

Previously, if there were multiple declarations for an exported symbol,
then the docs for those declarations were simply joined together with
newlines.

Now only the first declaration (or the valueDeclaration if there is one)
is used in an export doc.

If you needed the content for the other declarations then you can still
access them via a call like `getContent(doc.additionalDeclarations[i])`.
@@ -7,7 +7,7 @@
"docType": "{$ item.docType $}",
"stability": "{$ item.stability $}",
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

both stability and security fields can contain free-form text. we should escape those too.

@naomiblack naomiblack merged commit c3bb033 into angular:master Sep 13, 2016
@IgorMinar
Copy link
Contributor

@naomiblack you missed the comment above. this solution is incomplete and the site will still break eventually.

@IgorMinar
Copy link
Contributor

oh.. I see. the json actually doesn't contain the user provided text, that is only used in non-json contexts. this change is fine then.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants