<commit_before><div class="span12">
    <p>&nbsp;</p>
    <div class="gdg_loading" ng-show="loading"></div>
    <h1 class="span12" ng-hide="loading">{{ chapter_name }} events</h1>
    <div class="row">
        <h3 ng-show="events.future.length" class="span12">Upcoming Events</h3>
        <div class="media span12" ng-repeat="event in events.future | orderBy:'start'">
            <a class="pull-left" ng-href="https://developers.google.com/events/{{event._id}}/" target="_blank">
                <img class="media-object" ng-src="https://developers.google.com{{event.iconUrl}}" alt="GDG Boomerang">
            </a>
            <div class="media-body">
                <h4 class="media-heading">
                    <a ng-href="{{event.eventUrl}}" target="_blank">{{event.title}}</a>
                </h4>
                <h5>{{event.location}}<br/>{{event.start | date:'EEEE, MMMM d, y - h:mm a'}}</h5>
                <p ng-bind-html="event.about | htmlLinky | hashLinky"></p>
            </div>
        </div>
        <p class="span12" ng-if="upcomingError" ng-bind-html="upcomingError"></p>
    </div>
    <div class="row">
        <h3 ng-show="events.past.length" class="span12">Past Events</h3>
        <div class="media span12" ng-repeat="event in events.past | orderBy:'start':true">
            <a class="pull-left" ng-href="https://developers.google.com/events/{{event._id}}/" target="_blank">
                <img class="media-object" ng-src="https://developers.google.com{{event.iconUrl}}" alt="GDG Boomerang">
            </a>
            <div class="media-body">
                <h4 class="media-heading">
                    <a ng-href="{{event.eventUrl}}" target="_blank">{{event.title}}</a>
                </h4>
                <h5>{{event.location}}<br/>{{event.start | date:'EEEE, MMMM d, y - h:mm a'}}</h5>
                <p ng-bind-html="event.about | htmlLinky | hashLinky"></p>
            </div>
        </div>
        <p class="span12" ng-if="pastError" ng-bind-html="pastError"></p>
    </div>
</div>
<commit_msg>Fix issue #29 - broken links when event has an empty iconUrl.<commit_after><div class="span12">
    <p>&nbsp;</p>
    <div class="gdg_loading" ng-show="loading"></div>
    <h1 class="span12" ng-hide="loading">{{ chapter_name }} events</h1>
    <div class="row">
        <h3 ng-show="events.future.length" class="span12">Upcoming Events</h3>
        <div class="media span12" ng-repeat="event in events.future | orderBy:'start'">
            <a class="pull-left" ng-href="https://developers.google.com/events/{{event._id}}/" target="_blank">
                <img class="media-object" alt="GDG Boomerang"
                     ng-src="https://developers.google.com{{ event.iconUrl || '/_static/images/gdg-icon.png' }}">
            </a>
            <div class="media-body">
                <h4 class="media-heading">
                    <a ng-href="{{event.eventUrl}}" target="_blank">{{event.title}}</a>
                </h4>
                <h5>{{event.location}}<br/>{{event.start | date:'EEEE, MMMM d, y - h:mm a'}}</h5>
                <p ng-bind-html="event.about | htmlLinky | hashLinky"></p>
            </div>
        </div>
        <p class="span12" ng-if="upcomingError" ng-bind-html="upcomingError"></p>
    </div>
    <div class="row">
        <h3 ng-show="events.past.length" class="span12">Past Events</h3>
        <div class="media span12" ng-repeat="event in events.past | orderBy:'start':true">
            <a class="pull-left" ng-href="https://developers.google.com/events/{{event._id}}/" target="_blank">
                <img class="media-object" alt="GDG Boomerang"
                     ng-src="https://developers.google.com{{ event.iconUrl || '/_static/images/gdg-icon.png' }}">
            </a>
            <div class="media-body">
                <h4 class="media-heading">
                    <a ng-href="{{event.eventUrl}}" target="_blank">{{event.title}}</a>
                </h4>
                <h5>{{event.location}}<br/>{{event.start | date:'EEEE, MMMM d, y - h:mm a'}}</h5>
                <p ng-bind-html="event.about | htmlLinky | hashLinky"></p>
            </div>
        </div>
        <p class="span12" ng-if="pastError" ng-bind-html="pastError"></p>
    </div>
</div>

{'fraction_non_alphanumeric': 0.2032501177578898, 'fraction_numerical': 0.01460197833254828, 'mean_word_length': 2.2871517027863777, 'pattern_counts': {'":': 0, '<': 107, '<?xml version=': 0, '>': 107, 'https://': 8, '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': '720374', 'n_tokens_mistral': 1441, 'n_tokens_neox': 1369, 'n_words': 234}