Skip to content
This repository was archived by the owner on Apr 12, 2024. It is now read-only.

HTML in documentation being put into doc as actual HTML #6649

Closed
dnchristiansen opened this issue Mar 11, 2014 · 4 comments
Closed

HTML in documentation being put into doc as actual HTML #6649

dnchristiansen opened this issue Mar 11, 2014 · 4 comments

Comments

@dnchristiansen
Copy link

When going to the documentation for attributes here: http://docs.angularjs.org/api/ng/type/$compile.directive.Attributes I see the following:

capture

The example of the <span> with the different ways of doing including attributes is not visible. By inspecting the page, I see:

capture2

So, the html included in the comments of the source (https://github.com/angular/angular.js/blob/master/src/ng/compile.js#L1963) is getting put into the page as straight HTML, making it not useful, since you can't actually see what the doc is talking about.

I don't know how the source needs to be changed to prevent this, so I wanted to log an issue about it.

@btford btford self-assigned this Mar 11, 2014
@btford btford added this to the Backlog milestone Mar 12, 2014
@jbnicolai
Copy link

Is this still an issue? Unable to reproduce on the provided URL.

@btford
Copy link
Contributor

btford commented May 2, 2014

I think this is fixed (right @petebacondarwin?). Closing.

@btford btford closed this as completed May 2, 2014
@petebacondarwin
Copy link
Contributor

I think this is still a problem. Look at the page after the equivalent in Angular: there should be some HTML there

@petebacondarwin
Copy link
Contributor

Easy fix in the docs, though. On it.

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

No branches or pull requests

4 participants