1
0
mirror of https://github.com/monstra-cms/monstra.git synced 2025-08-05 12:48:00 +02:00

Merge pull request #310 from ravilrrr/patch-2

Update Html.php
This commit is contained in:
Sergey Romanenko
2014-06-03 06:59:31 +04:00

View File

@@ -51,7 +51,7 @@ class Html
*
* <code>
*
* // Registering a Htmlk macro
* // Registering a Html macro
* Html::macro('my_element', function() {
* return '<element id="monstra">';
* });
@@ -61,7 +61,7 @@ class Html
*
*
* // Registering a Html macro with parameters
* Html::macro('my_element', function(id = '') {
* Html::macro('my_element', function($id = '') {
* return '<element id="'.$id.'">';
* });
*