* @extends Roo.bootstrap.Component
* Example Element class
* @cfg {String} title short title describing example
- * @cfg {String} lang (phpcode|programlisting) section type.
+ * @cfg {String} lang (php|txt|sql) section type.
* @cfg {String} code example code
* @cfg {String} output The expected output from the code
*
cn : [
{
tag: 'pre',
- cls : this.lang,
+ cls : 'lang-' + this.lang,
html : String.format('{0}',this.code).replace(/\n/g, '<br/>')
}
]