DataTables / Editor-PHP

PHP server-side libraries for Editor
Other
35 stars 22 forks source link

Rename internal HtmLawed, reduce CS diff and upgrade it #32

Closed mvorisek closed 11 months ago

mvorisek commented 11 months ago

now the patching is easier and better documented

improve https://github.com/DataTables/Editor-PHP/commit/7108caa22a28527614bd776e7c46c7dbf4721ae3 for easier long term maintenance/upgrades

mvorisek commented 11 months ago

@AllanJard and this one please as well

effective changes:

https://github.com/DataTables/Editor-PHP/compare/ecb0f162...ccb3e67c - minor upgrade changes

https://github.com/DataTables/Editor-PHP/compare/a753f3cb...18c3d78c - is the new/official config [1] fine or was the config patched historically for DataTable Editor?

[1] https://github.com/vanilla/htmlawed/blob/v2.2.15/src/Htmlawed.php#L14

AllanJard commented 11 months ago

I'll need to test this one fully before pulling it in (the case change might impact the non-composer loader). Hopefully that will be within the next week. I think there was a small patch for the config to allow data attributes or something like that, but I'll check that as well.

Many thanks for this.