Skip to content

Commit 2166926

Browse files
committed
docs: add section "HTML5 Compatibility" and move related items
1 parent 41d6230 commit 2166926

File tree

1 file changed

+16
-6
lines changed

1 file changed

+16
-6
lines changed

user_guide_src/source/changelogs/v4.3.0.rst

Lines changed: 16 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -227,22 +227,32 @@ Libraries
227227
- **Publisher:** Added methods ``replace()``, ``addLineAfter()`` and ``addLineBefore()`` to modify files in Publisher. See :ref:`Publisher <publisher-modifying-files>` for details.
228228
- **Encryption:** Now Encryption can decrypt data encrypted with CI3's Encryption. See :ref:`encryption-compatible-with-ci3`.
229229
- **CURLRequest:** Added option version HTTP2 in :ref:`CURLRequest <curlrequest-version>`.
230-
- **Typography:** Creation of ``br`` tag can be configured to exclude or not the solidus character (``/``)
231-
before the right angle bracket (``>``) by setting the ``$html5`` property in
232-
**app/Config/DocTypes.php** to ``true``.
233-
- **View:** The ``nl2br`` filter in ``Parser`` outputs ``<br>`` tag by setting the ``$html5`` property in
234-
**app/Config/DocTypes.php** to ``true``.
235230

236231
Helpers and Functions
237232
=====================
238233

239-
- Creation of void HTML elements like ``<input>`` via ``form_helper``, ``html_helper`` or common functions can be configured to exclude or not the solidus character (``/``) before the right angle bracket (``>``) by setting the ``$html5`` property in **app/Config/DocTypes.php** to ``true``.
240234
- Now you can autoload helpers by **app/Config/Autoload.php**.
241235
- Added new Form helper function :php:func:`validation_errors()`, :php:func:`validation_list_errors()` and :php:func:`validation_show_error()` to display Validation Errors.
242236
- You can set the locale to :php:func:`route_to()` if you pass a locale value as the last parameter.
243237
- Added :php:func:`request()` and :php:func:`response()` functions.
244238
- Added :php:func:`decamelize()` function to convert camelCase to snake_case.
245239

240+
HTML5 Compatibility
241+
===================
242+
243+
Creation of void HTML elements like ``<input>`` can be configured to exclude or not the solidus character
244+
(``/``) before the right angle bracket (``>``) by setting the ``$html5`` property in
245+
**app/Config/DocTypes.php**. If you set it to ``true``, HTML5 compatible tags without ``/`` like ``<br>``
246+
will be output.
247+
248+
The following items are affected:
249+
250+
- Typography class: Creation of ``br`` tag
251+
- View Parser: The ``nl2br`` filter
252+
- Form helper
253+
- HTML helper
254+
- Common Functions
255+
246256
Error Handling
247257
==============
248258

0 commit comments

Comments
 (0)