[udemy] Extract formats from view_html (Closes #8979)