You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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):
@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>)?
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 😸 ).
@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) 😁
@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.
Activity
donroyco commentedon Jul 16, 2017
Here's the URL for reference: https://material.angular.io/components/icon/api
julianobrasil commentedon Jul 16, 2017
@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>)?donroyco commentedon Jul 16, 2017
@julianobrasil *svg ;)
julianobrasil commentedon Jul 16, 2017
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 😸 ).
willshowell commentedon Jul 16, 2017
@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) 😁julianobrasil commentedon Jul 16, 2017
@willshowell, of course... just need to make sure that the backticks escapes HTML tags. @donroyco wrote something about asterisks above.
donroyco commentedon Jul 17, 2017
@julianobrasil It was just a typo reference:
sgv»svgjulianobrasil commentedon Jul 17, 2017
@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
@Outputnamed "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.kasiditi commentedon Oct 18, 2017
This issue still persists as of today.
Why the PR #5824 still hasn't been merged? I think it's a valid fix.
julianobrasil commentedon Oct 19, 2017
Another one was merged today with the same fix: #7756
kasiditi commentedon Oct 19, 2017
Nice! :) So this issue can be closed then?
julianobrasil commentedon Oct 19, 2017
Right now!
angular-automatic-lock-bot commentedon Sep 7, 2019
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.