diff options
| author | Chirayu Krishnappa | 2013-08-20 11:35:01 -0700 | 
|---|---|---|
| committer | Chirayu Krishnappa | 2013-08-20 11:35:01 -0700 | 
| commit | ffe1665d026af836e23fc27451392daf1b1e711f (patch) | |
| tree | 6631f342818f91b58aa12aacccd34d01989661ac /src | |
| parent | b1a43cd04e8727df5bef3197f5fda3b98ecab740 (diff) | |
| download | angular.js-ffe1665d026af836e23fc27451392daf1b1e711f.tar.bz2 | |
docs(sce,urlutils): update table to use marked syntax
Commit 258cae83dc1a03b6b878a7b4236c499288cd2624 replaced Showdown with marked.
Diffstat (limited to 'src')
| -rw-r--r-- | src/ng/sce.js | 2 | ||||
| -rw-r--r-- | src/ng/urlUtils.js | 4 | 
2 files changed, 3 insertions, 3 deletions
diff --git a/src/ng/sce.js b/src/ng/sce.js index 4441bbc8..60356097 100644 --- a/src/ng/sce.js +++ b/src/ng/sce.js @@ -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. | diff --git a/src/ng/urlUtils.js b/src/ng/urlUtils.js index af2d913f..c747ad9a 100644 --- a/src/ng/urlUtils.js +++ b/src/ng/urlUtils.js @@ -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                                                |  | 
