In QooxDoo I have a problem with this code
html2plain : function (html) {
html = html.replace(/<(S*?)[^>]*>.*?|<.*?\/>/g, function( tag )
{
return this.pushHashtag(tag.toUpperCase());
} );
return( html );
},
when it comes to the line
return this.pushHashtag(tag.toUpperCase());
there is no context for the variable this
and the function pushHashtag
becomes unavailable.