fixed passing of link_html options

also added test case