<commit_before>var args = arguments[0] || {},
	moment = require('alloy/moment'),
	imagecache = require('imagecache'),
	dispatcher = require('dispatcher');

function closeWindow(e) {
    $.scheduleDetailWindow.closeWindow();
}
imagecache.cachedImageView('speakerimages', args.picture, $.pictureView);

$.titleLabel.text = args.get('title');
$.descriptionLabel.text = args.get('content');
$.nameLabel.text = args.speaker;
$.bioLabel.text = args.bio;
$.dateLabel.text = moment(args.get('startDate')).format('DD MMM HH:mm') + " - " + moment(args.get('startDate')).format('HH:mm');
$.roomLabel.text = args.get('room');

dispatcher.trigger('setMainTitle', {
	title: "Schedule"<commit_msg>Strip html from abstract text<commit_after>var args = arguments[0] || {},
	moment = require('alloy/moment'),
	imagecache = require('imagecache'),
	dispatcher = require('dispatcher'),
	abstract = args.get('content');

function closeWindow(e) {
    $.scheduleDetailWindow.closeWindow();
}
imagecache.cachedImageView('speakerimages', args.picture, $.pictureView);
abstract = abstract.replace(/(<([^>]+)>)/ig,"");

$.titleLabel.text = args.get('title');
$.descriptionLabel.text = abstract;
$.nameLabel.text = args.speaker;
$.bioLabel.text = args.bio;
$.dateLabel.text = moment(args.get('startDate')).format('DD MMM HH:mm') + " - " + moment(args.get('startDate')).format('HH:mm');
$.roomLabel.text = args.get('room');

dispatcher.trigger('setMainTitle', {
	title: "Schedule"
{'fraction_non_alphanumeric': 0.20606478290833907, 'fraction_numerical': 0.0013783597518952446, 'mean_word_length': 6.296482412060302, 'pattern_counts': {'":': 0, '<': 4, '<?xml version=': 0, '>': 5, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '6064355', 'n_tokens_mistral': 463, 'n_tokens_neox': 463, 'n_words': 73}