[fix] avoid invalid HTML in page_menu if encapsulate a div