Commit 115f59b4 authored by Taylor Otwell's avatar Taylor Otwell

Merge pull request #1392 from mynameiszanders/patch-1

Update "docs/views/html.md", parse error in example code.
parents 37cd08fa a7ea27d0
......@@ -21,11 +21,11 @@ For example, the < symbol should be converted to its entity representation. Conv
#### 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:
echo e('<script>alert('hi');</script>');
echo e('<script>alert(\'hi\');</script>');
<a name="scripts-and-style-sheets"></a>
## Scripts And Style Sheets
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment