8000 Merge pull request #1392 from mynameiszanders/patch-1 · hicode/laravel@115f59b · GitHub
[go: up one dir, main page]

Skip to content

Commit 115f59b

Browse files
committed
Merge pull request laravel#1392 from mynameiszanders/patch-1
Update "docs/views/html.md", parse error in example code.
2 parents 37cd08f + a7ea27d commit 115f59b

File tree

Collapse file tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

laravel/documentation/views/html.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,11 +21,11 @@ For example, the < symbol should be converted to its entity representation. Conv
2121

2222
#### Converting a string to its entity representation:
2323

24-
echo HTML::entities('<script>alert('hi');</script>');
24+
echo HTML::entities('<script>alert(\'hi\');</script>');
2525

2626
#### Using the "e" global helper:
2727

28-
echo e('<script>alert('hi');</script>');
28+
echo e('<script>alert(\'hi\');</script>');
2929

3030
<a name="scripts-and-style-sheets"></a>
3131
## Scripts And Style Sheets

0 commit comments

Comments
 (0)
0