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

Commit ffe1665

Browse files
committed
docs(sce,urlutils): update table to use marked syntax
Commit 258cae8 replaced Showdown with marked.
1 parent b1a43cd commit ffe1665

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

src/ng/sce.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -456,7 +456,7 @@ function $SceDelegateProvider() {
456456
* ## What trusted context types are supported?<a name="contexts"></a>
457457
*
458458
* | Context | Notes |
459-
* |=====================|================|
459+
* |---------------------|----------------|
460460
* | `$sce.HTML` | For HTML that's safe to source into the application. The {@link ng.directive:ngBindHtml ngBindHtml} directive uses this context for bindings. |
461461
* | `$sce.CSS` | For CSS that's safe to source into the application. Currently unused. Feel free to use it in your own directives. |
462462
* | `$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. |

src/ng/urlUtils.js

+2-2
Original file line numberDiff line numberDiff line change
@@ -58,15 +58,15 @@ function $$UrlUtilsProvider() {
5858
* Otherwise, returns an object with the following members.
5959
*
6060
* | member name | Description |
61-
* |===============|================|
61+
* |---------------|----------------|
6262
* | href | A normalized version of the provided URL if it was not an absolute URL |
6363
* | protocol | The protocol including the trailing colon |
6464
* | host | The host and port (if the port is non-default) of the normalizedUrl |
6565
*
6666
* These fields from the UrlUtils interface are currently not needed and hence not returned.
6767
*
6868
* | member name | Description |
69-
* |===============|================|
69+
* |---------------|----------------|
7070
* | hostname | The host without the port of the normalizedUrl |
7171
* | pathname | The path following the host in the normalizedUrl |
7272
* | hash | The URL hash if present |

0 commit comments

Comments
 (0)