Hugo Alliaume
|
9b18e3757d
|
Extract htmlAttrValue() from html_attr for standalone attribute rendering
|
2026-08-26 16:46:53 +02:00 |
|
Fabien Potencier
|
9323a82eb9
|
Render backed enums using their backing value in the html_attr function
|
2026-06-25 08:50:01 +02:00 |
|
Matthias Pigulla
|
42c12fa720
|
Add an html_attr function to make outputting HTML attributes easier
|
2026-03-17 07:39:33 +01:00 |
|
Fabien Potencier
|
861215c507
|
Fix CS
|
2026-02-07 09:07:38 +01:00 |
|
Younes ENNAJI
|
64c87eeaa3
|
Fix array typehint for $variants in HtmlExtension
|
2025-10-30 01:26:03 +01:00 |
|
Fabien Potencier
|
151aa4ecda
|
Fix CS
|
2025-02-14 12:57:03 +01:00 |
|
Nicolas Lemoine
|
8158dabc17
|
Add support for Twig\Markup
Co-authored-by: Fabien Potencier <fabien@potencier.org>
|
2024-12-29 11:29:59 +01:00 |
|
Fabien Potencier
|
4e08e3ef5f
|
Fix tests
|
2024-09-30 08:41:48 +02:00 |
|
Fabien Potencier
|
0da899d911
|
Use get_debug_type() everywhere
|
2024-09-29 18:08:29 +02:00 |
|
Fabien Potencier
|
675cb2d141
|
Fix CS
|
2024-08-18 19:25:19 +02:00 |
|
Matheo Daninos
|
e3ac14e1c8
|
Introduce CVA to html-extra
|
2024-08-18 09:36:16 +02:00 |
|
Fabien Potencier
|
b63bde3063
|
Optimize sprintf() calls for PHP 8.4
|
2024-06-21 08:16:55 +02:00 |
|
Fabien Potencier
|
b222be9974
|
Fix CS
|
2024-05-01 16:06:53 +02:00 |
|
Fabien Potencier
|
68a826cf61
|
minor #3969 [html-extra] filter classes (kbond)
This PR was merged into the 3.x branch.
Discussion
----------
[html-extra] filter classes
A small formatting change to avoid double spaces:
```twig
class="{{ html_classes('a', false ? 'b', true ? 'c') }}"
{# before #}
class="a c"
{# after #}
class="a c"
```
Commits
-------
a517c14f [html-extra] filter classes
|
2024-04-29 21:43:39 +02:00 |
|
Kevin Bond
|
a517c14f19
|
[html-extra] filter classes
|
2024-04-29 21:42:05 +02:00 |
|
Fabien Potencier
|
f7f11ea410
|
Fix CS
|
2024-02-10 09:52:03 +01:00 |
|
Fabien Potencier
|
6a18cda5aa
|
Move functions for HtmlExtension
|
2023-12-09 18:39:01 +01:00 |
|
Fabien Potencier
|
cb88e0a68c
|
Merge branch '2.x' into 3.x
* 2.x:
Move things around
|
2021-01-01 15:58:18 +01:00 |
|
Fabien Potencier
|
1868918724
|
Move things around
|
2021-01-01 15:53:48 +01:00 |
|