Added html escaping for attributes in panel member attributes.
Removed extra clousure.
Merge branch 't/11101'