Pluggable HTML pipeline