Commit graph

14 commits

Author SHA1 Message Date
Kijin Sung
50dd010e2d Remove empty class and style attributes when compiling template v2 2025-11-29 11:07:15 +09:00
Kijin Sung
49f57980dd Add unit test for inline styles in template v2 2025-03-19 00:16:08 +09:00
Kijin Sung
0bc3635b6c Update unit tests for improved contextual escape 2025-03-19 00:12:57 +09:00
Kijin Sung
62eb6b2aae Add more context switches for inline scripts and styles 2025-03-18 23:17:42 +09:00
Kijin Sung
800eb2f444 Change behavior of \@mobile directive in template v2 #2510 2025-03-18 22:51:22 +09:00
Kijin Sung
0b9131e664 Remove unnecessary encoding of /, &, ' in template v2 JSON output 2024-03-24 21:29:54 +09:00
Kijin Sung
5b47151440 Change desktop and mobile directives to reference static Context method 2023-10-21 13:35:24 +09:00
Kijin Sung
c50cc71ce1 Fix random loop ID always changing in template v2 unit test 2023-10-18 12:28:51 +09:00
Kijin Sung
c487c13864 Apply context-aware escape more generally; add can/cannot/canany and env directives 2023-10-18 12:09:45 +09:00
Kijin Sung
e044e11c5f Convert include code into a method of Template class 2023-10-18 00:01:11 +09:00
Kijin Sung
012dbb9ab7 Convert resource loading code into a method of Template class 2023-10-17 23:29:55 +09:00
Kijin Sung
55cafc5c33 Convert class and style builder into a method of Template class 2023-10-17 22:44:27 +09:00
Kijin Sung
82b9107ca0 Add support for fragment in template v2 2023-10-17 22:25:53 +09:00
Kijin Sung
a6afa3a61d Add loop variable and dump directive; reorganize template v2 unit tests 2023-10-17 20:12:22 +09:00
Renamed from tests/_data/template/v2result1.php (Browse further)