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
afaf10d602
Fixed yet another xmlns issue...
2021-11-21 19:55:09 -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
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
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
f3833b8917
Add obsolete boolean attributes
2021-10-27 22:06:58 -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
6d647f076b
Coerce attribute names less aggressively
2021-10-25 22:22:10 -04:00
2e2563cf15
Document serializer
2021-10-23 17:04:34 -04:00
bb8d49fb6a
Merge branch 'serialize'
2021-10-23 15:23:32 -04:00
29f2611c53
Remove or suppress coverage for unreachable lines
2021-10-23 14:01:45 -04:00
855e425ca5
Cover the rest of the serializer
2021-10-22 09:55:09 -04:00
48dca59eb1
Further improve coverage
2021-10-19 23:14:10 -04:00
3c647c2284
Improve coverage further
...
This fixes a bug with forms within templates
2021-10-19 19:38:46 -04:00
8d388ef8cd
Improve coverage
...
This uncovered three bugs:
- Unconsuming at EOF with error reporting off yielded incorrect tokens
- Mangled end tags in foreign content were not being matched correctly
- Broken characters produced a fatal error with error reporting on
2021-10-19 15:20:53 -04:00
a870147008
Add docblocks
2021-10-17 20:56:58 -04:00
1fa35a7ec4
Add missing docblocks
2021-10-17 11:48:00 -04:00
2c1fb15f17
Remove obsolete static property
...
This was previously used for encoding fallback
2021-10-17 11:09:54 -04:00
3de0f4343c
Fix remaining serializer bugs
2021-10-15 19:41:08 -04:00
180dcd3e51
Various corrections
2021-10-14 12:27:01 -04:00
c82127c61f
Hopefully complete serializer implementation
2021-10-14 11:08:34 -04:00
e74d0d0f31
Prototype of serializer
...
Templates will need further handling
2021-10-13 22:52:54 -04:00