Retrieve and include header stuff from global variable dotlrn_master__header_stuff. This is helpful for portlets that use javascript, e.g. dotlrn-main-portlet, and gives us a way to do it without having to ship the javascript on every page.
Fix: Import QTI text following the texttype attribute.If texttype is text/plain we convert to HTML and if texttype is text/htmlwe get it raw.This way all the text fields in the database are always HTML