Merge pull request #1392 from mynameiszanders/patch-1
Update "docs/views/html.md", parse error in example code.
This commit is contained in:
commit
115f59b4ff
|
@ -21,11 +21,11 @@ ## Entities
|
||||||
|
|
||||||
#### Converting a string to its entity representation:
|
#### Converting a string to its entity representation:
|
||||||
|
|
||||||
echo HTML::entities('<script>alert('hi');</script>');
|
echo HTML::entities('<script>alert(\'hi\');</script>');
|
||||||
|
|
||||||
#### Using the "e" global helper:
|
#### Using the "e" global helper:
|
||||||
|
|
||||||
echo e('<script>alert('hi');</script>');
|
echo e('<script>alert(\'hi\');</script>');
|
||||||
|
|
||||||
<a name="scripts-and-style-sheets"></a>
|
<a name="scripts-and-style-sheets"></a>
|
||||||
## Scripts And Style Sheets
|
## Scripts And Style Sheets
|
||||||
|
|
Loading…
Reference in New Issue