mirror of
https://github.com/Hopiu/angular.js.git
synced 2026-03-16 23:30:23 +00:00
docs(sce,urlutils): update table to use marked syntax
Commit 258cae83dc replaced Showdown with marked.
This commit is contained in:
parent
b1a43cd04e
commit
ffe1665d02
2 changed files with 3 additions and 3 deletions
|
|
@ -456,7 +456,7 @@ function $SceDelegateProvider() {
|
|||
* ## What trusted context types are supported?<a name="contexts"></a>
|
||||
*
|
||||
* | Context | Notes |
|
||||
* |=====================|================|
|
||||
* |---------------------|----------------|
|
||||
* | `$sce.HTML` | For HTML that's safe to source into the application. The {@link ng.directive:ngBindHtml ngBindHtml} directive uses this context for bindings. |
|
||||
* | `$sce.CSS` | For CSS that's safe to source into the application. Currently unused. Feel free to use it in your own directives. |
|
||||
* | `$sce.URL` | For URLs that are safe to follow as links. Currently unused (`<a href=` and `<img src=` sanitize their urls and don't consititute an SCE context. |
|
||||
|
|
|
|||
|
|
@ -58,7 +58,7 @@ function $$UrlUtilsProvider() {
|
|||
* Otherwise, returns an object with the following members.
|
||||
*
|
||||
* | member name | Description |
|
||||
* |===============|================|
|
||||
* |---------------|----------------|
|
||||
* | href | A normalized version of the provided URL if it was not an absolute URL |
|
||||
* | protocol | The protocol including the trailing colon |
|
||||
* | host | The host and port (if the port is non-default) of the normalizedUrl |
|
||||
|
|
@ -66,7 +66,7 @@ function $$UrlUtilsProvider() {
|
|||
* These fields from the UrlUtils interface are currently not needed and hence not returned.
|
||||
*
|
||||
* | member name | Description |
|
||||
* |===============|================|
|
||||
* |---------------|----------------|
|
||||
* | hostname | The host without the port of the normalizedUrl |
|
||||
* | pathname | The path following the host in the normalizedUrl |
|
||||
* | hash | The URL hash if present |
|
||||
|
|
|
|||
Loading…
Reference in a new issue