Resolve <picture> tags #3
Labels
bug
groomed
The issue has been groomed and should be in a good shape.
hacktoberfest
help wanted
up-for-grabs
It's common that Kentico generates
picture
tags with severalsource
s. The following syntax (which can be found on the Dancing Goat sample site) is not a valid AMP:The validator says:
The markup should resolve into one of the defined sources. Ideally, to the one with the lowest resolution.
A new replacement logic will have to be added to [
TransformToAmpHtml()
](kentico-amp/Kentico.AcceleratedMobilePages/AmpFilter.cs
Line 51 in 22adb47
The text was updated successfully, but these errors were encountered: