Revert "fixed rendering of html tags in panel"

This reverts commit 50b96e05b1f8397afa25eb782b068afacb2c5b31.

Made some fault commits so attempting to revert to "fixed rendering of html tags in panel".