Fixes to html sig code
Add test for Bug #13114