Open schlessera opened 3 years ago
The AMP Toolbox should include a sanitizer that is a pure PHP variant of the collection of sanitizers currently found in the AMP for WordPress plugin.
The general idea is that the Sanitizer should take regular HTML5 markup and make smart transformations to turn it into AMPHTML markup.
As a concrete outcome for this effort we should consider at least the code from the AMP plugin which is copied into the Web Stories plugin, so the Web Stories dependency on the AMP plugin can be eliminated.
The AMP Toolbox should include a sanitizer that is a pure PHP variant of the collection of sanitizers currently found in the AMP for WordPress plugin.
The general idea is that the Sanitizer should take regular HTML5 markup and make smart transformations to turn it into AMPHTML markup.