mirror of
https://github.com/NativeScript/NativeScript.git
synced 2025-08-16 20:11:24 +08:00
raw/endraw added
This commit is contained in:
@ -15,7 +15,7 @@ import htmlViewModule = require("ui/html-view");
|
|||||||
// ### Declaring a HtmlView.
|
// ### Declaring a HtmlView.
|
||||||
//```XML
|
//```XML
|
||||||
// <Page>
|
// <Page>
|
||||||
// <HtmlView html="{{ htmlString }}" />
|
// {%raw%}<HtmlView html="{{ htmlString }}" />{%endraw%}
|
||||||
// </Page>
|
// </Page>
|
||||||
//```
|
//```
|
||||||
|
|
||||||
|
@ -14,7 +14,7 @@ import webViewModule = require("ui/web-view");
|
|||||||
// ### Declaring a WebView.
|
// ### Declaring a WebView.
|
||||||
//```XML
|
//```XML
|
||||||
// <Page>
|
// <Page>
|
||||||
// <WebView src="{{ someUrl | pathToLocalFile | htmlString }}" />
|
// {%raw%}<WebView src="{{ someUrl | pathToLocalFile | htmlString }}" />{%endraw%}
|
||||||
// </Page>
|
// </Page>
|
||||||
//```
|
//```
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user