Commit graph

401 commits

Author SHA1 Message Date
e11401d10d Avoid dynamic property creation 2023-01-25 17:46:01 -05:00
9097e61d97 Avoid use of @ operator 2023-01-25 17:45:30 -05:00
02ec5df3fe Make Serializer "block" query look for descendants rather than children 2022-02-15 14:47:49 -06:00
61b842fa74 Added 'groupElements' serializer option 2022-02-15 12:24:04 -06:00
c1dc4b55ce Added form elements to serializer "block" elements
• select, fieldset, datalist, option, and optgroup are now treated as 
block when pretty printing
• input, textarea, button, output are now treated as block only if not 
the only child when pretty printing
2022-02-14 09:18:44 -06:00
8e087054df Dependency updates, added tbody to serializer "block" elements 2022-02-13 17:09:28 -06:00
37f0fa8647 More Serializer fixes 2021-12-16 14:25:19 -06:00
b908068603 Fixed error in pretty printing templates in preformatted content 2021-12-16 09:29:51 -06:00
a8435f7c35 Added PHP 8.1 attributes to Stack methods to suppress deprecation errors 2021-12-05 09:00:39 -06:00
f33cc4344b Updates to documentation 2021-11-29 12:54:16 -06:00
afaf10d602 Fixed yet another xmlns issue... 2021-11-21 19:55:09 -06:00
cb57dd8e11 Added tests for serializer config warnings 2021-11-19 11:18:05 -06:00
5495e7c81e Fixed parameters for Serializer::getTemplateContent 2021-11-18 11:39:20 -06:00
a76081fd18 Minor cleanup 2021-11-18 11:29:57 -06:00
a4e1aa55d1 Changed typing for config in Serializer 2021-11-18 11:18:34 -06:00
6ff01ee4f7 Changed serializer configuration to array 2021-11-18 11:12:09 -06:00
ad57bbd5a2 Added test to cover tab indention 2021-11-18 09:55:51 -06:00
5f1a97295e Minor clean-up 2021-11-17 16:31:40 -06:00
08ba468214 100% coverage on pretty printing 2021-11-17 16:29:22 -06:00
8361ea0d88 Working on inline whitespace collapsing, not quite right yet 2021-11-16 23:59:36 -06:00
b145e1ebc9 Started fixing whitespace collapsing per specification 2021-11-16 16:47:08 -06:00
6da73a3dab Fixing bugs exposed when trying to extend Serializer 2021-11-15 11:11:02 -06:00
7defc1cc1d Changed to using recursion to simplify pretty printing 2021-11-15 09:18:26 -06:00
4cd3a9b03d Trying a rewrite with recursion to simplify pretty printing 2021-11-12 16:33:41 -06:00
50943199b2 Tons of fixes 2021-11-12 15:06:04 -06:00
422b94581e Starting working on indention of templates 2021-11-12 07:26:51 -06:00
5ce120d8f3 Removed template from the block element list 2021-11-11 23:03:06 -06:00
12b90b92d0 Making more progress 2021-11-11 16:59:41 -06:00
11980813bb Minor spacing fixes, everything still pretty borked 2021-11-10 23:46:20 -06:00
e38b2be10f Making progress on pretty printing 2021-11-10 23:38:19 -06:00
497a740c3d More work on pretty printing 2021-11-10 16:52:59 -06:00
b687860120 Starting to integrate pretty printer 2021-11-08 22:23:35 -06:00
c5a3d635d5 Updated MensBeam\DOM\Inner namespace 2021-11-08 12:34:05 -06:00
6403c205d6 Fixed typos in README 2021-11-06 15:59:09 -05:00
991b5ae540 Added Parser::parseInto 2021-11-06 15:57:41 -05:00
5698a93c01 Added special template case for MensBeam DOM 2021-10-31 11:11:06 -05:00
1255b02bd7 Document serialization options 2021-10-28 11:35:08 -04:00
f3833b8917 Add obsolete boolean attributes 2021-10-27 22:06:58 -04:00
7587e326b1 Update changelog 2021-10-27 13:39:45 -04:00
511935676e Test new serializer options 2021-10-27 13:13:10 -04:00
7577a69b60 Clarify new serialization options 2021-10-27 10:18:19 -04:00
b904ea8b7c Add docblocks for serializer config parameters 2021-10-27 10:08:11 -04:00
4ba7fb98f2 Correct docblock 2021-10-26 22:53:15 -04:00
7b4fe70f0a Prototype of refined serialization 2021-10-26 22:51:44 -04:00
2f1efc1653 Lay xmlns attribute uncertainty to rest 2021-10-26 18:04:31 -04:00
be9f677bd8 Confirm xmlns attributes on HTML elements work 2021-10-26 17:08:48 -04:00
c2f397ed93 Correct errors in documentation 2021-10-26 09:50:11 -04:00
6d647f076b Coerce attribute names less aggressively 2021-10-25 22:22:10 -04:00
3fc966226b Fix BOM handling 2021-10-24 13:24:48 -04:00
f846305503 Add changelog 2021-10-23 17:34:01 -04:00