diff options
author | Sébastien Adam <sebastien.adam.webdev@gmail.com> | 2015-12-01 20:02:07 +0100 |
---|---|---|
committer | Sébastien Adam <sebastien.adam.webdev@gmail.com> | 2015-12-01 20:02:07 +0100 |
commit | 6ab09773d96ce6ac672a3d852256126d10aa25d8 (patch) | |
tree | 6b068464f44bf72064a4df8731d7aa44bd4c91e1 /user_guide_src | |
parent | dfcc5318d378ae66dd21806c6ac2dad67d73dc26 (diff) |
Modified as asked after pull request:
* comment of meta fuction adapted
* alignments in meta fuction adapted
* using '===' comparator in meta function
* changing back the example of the meta function help
* changing back the default value of the doctype function
Also changing test unit to reflect the modification of the meta
function (original tests not modified).
Diffstat (limited to 'user_guide_src')
-rw-r--r-- | user_guide_src/source/helpers/html_helper.rst | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/user_guide_src/source/helpers/html_helper.rst b/user_guide_src/source/helpers/html_helper.rst index bfd4afbe2..fffb2cab4 100644 --- a/user_guide_src/source/helpers/html_helper.rst +++ b/user_guide_src/source/helpers/html_helper.rst @@ -285,9 +285,9 @@ The following functions are available: echo meta('description', 'My Great site'); // Generates: <meta name="description" content="My Great Site" /> - echo meta('refresh', '30', 'http-equiv'); + echo meta('Content-type', 'text/html; charset=utf-8', 'equiv'); // Note the third parameter. Can be "charset", "http-equiv", "name" or "property" - // Generates: <meta http-equiv="refresh" content="30" /> + // Generates: <meta http-equiv="Content-type" content="text/html; charset=utf-8" /> echo meta(array('name' => 'robots', 'content' => 'no-cache')); // Generates: <meta name="robots" content="no-cache" /> |