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