[TYPO3-english] AMP pages, amp-img instead of img src from RTE
Duchesnes Grégory - Ilomedia
contact at ilomedia.net
Mon Dec 19 14:44:45 CET 2016
Hi,
It’s been a while but i began to look into this and i propose the following starting approach for RTE :
lib.parseFunc_RTE_AMP < lib.parseFunc_RTE
lib.parseFunc_RTE_AMP {
nonTypoTagStdWrap.HTMLparser {
tags{
iframe {
remap = amp-iframe
}
img {
remap = amp-img
fixAttrib {
style.unset = 1
class.unset = 1
}
}
}
}
}
Duchesnes Grégory - ilomedia
contact at ilomedia.net
More information about the TYPO3-english
mailing list