Skip to content

docs(md-icon): api missing text #5793

Closed

Description

@julianobrasil

Bug, feature request, or proposal:

Bug

What is the expected behavior?

See the complete explanation of an api item

What is the current behavior?

Some text is missing in specific parts of the md-icon docs (API Tab). Where it should be written something like:

"Returns an Observable that produces the icon (as an <svg> DOM element) from the given URL. The response from the URL may be cached so this will not always cause an HTTP request, but the produced element will always be a new copy of the originally fetched icon. (That is, it will not contain any modifications made to elements previously returned)."

you actually see what is shown in the image bello (that's because of the <svg> tag in the code comment):

image

Activity

  1. donroyco commented on Jul 16, 2017

    @donroyco
    Contributor
  2. julianobrasil commented on Jul 16, 2017

    @julianobrasil
    ContributorAuthor

    @willshowell, what's the right way to fix this error in docs? Does it follow the same Github markdown rules? I mean, is it just a matter of use the backticks (`<sgv>` instead of <sgv>)?

  3. donroyco commented on Jul 16, 2017

    @donroyco
    Contributor
  4. julianobrasil commented on Jul 16, 2017

    @julianobrasil
    ContributorAuthor

    Thanks, @donroyco! Not home right now, but I'll fix it and submit a PR later if no one does it (I was just showing the Material 2 Project to a reluctant developer and this error in the docs didn't help my point of view 😸 ).

  5. willshowell commented on Jul 16, 2017

    @willshowell
    Contributor

    @julianobrasil Yeah it'd almost certainly be fixed by backticks. I'm sure no one would mind either if you added a lint rule to enforce HTML tag escaping too (see the noExposedTodoRule) 😁

  6. julianobrasil commented on Jul 16, 2017

    @julianobrasil
    ContributorAuthor

    @willshowell, of course... just need to make sure that the backticks escapes HTML tags. @donroyco wrote something about asterisks above.

  7. donroyco commented on Jul 17, 2017

    @donroyco
    Contributor

    @julianobrasil It was just a typo reference: sgv » svg

  8. julianobrasil commented on Jul 17, 2017

    @julianobrasil
    ContributorAuthor

    @donroyco, that's why my wife keeps saying I need some rest once in a while 😃. I haven't corrected the docs yet because yesterday I got involved with a mysterious behavior in a project (at the end I found out that if you create an @Output named "change", or named after any html native event, Angular may bubble the native event through it). But I did submit the PR with the tslint rule at least.

  9. added
    docs
    on Jul 20, 2017
  10. kasiditi commented on Oct 18, 2017

    @kasiditi

    This issue still persists as of today.
    Why the PR #5824 still hasn't been merged? I think it's a valid fix.

  11. julianobrasil commented on Oct 19, 2017

    @julianobrasil
    ContributorAuthor

    Another one was merged today with the same fix: #7756

  12. kasiditi commented on Oct 19, 2017

    @kasiditi

    Nice! :) So this issue can be closed then?

  13. julianobrasil commented on Oct 19, 2017

    @julianobrasil
    ContributorAuthor

    Right now!

  14. angular-automatic-lock-bot commented on Sep 7, 2019

    @angular-automatic-lock-bot

    This issue has been automatically locked due to inactivity.
    Please file a new issue if you are encountering a similar or related problem.

    Read more about our automatic conversation locking policy.

    This action has been performed automatically by a bot.

  15. locked and limited conversation to collaborators on Sep 7, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    docs

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions