Browse Source

Merge pull request #1392 from mynameiszanders/patch-1

Update "docs/views/html.md", parse error in example code.
Taylor Otwell 12 years ago
parent
commit
115f59b4ff
1 changed files with 2 additions and 2 deletions
  1. 2 2
      laravel/documentation/views/html.md

+ 2 - 2
laravel/documentation/views/html.md

@@ -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