Rewrite output of view summary
You can override the default views templates for summaries in your own theme. There are two of them, which are located at:


sites/all/modules/views/theme/views-view-summary.tpl.php
sites/all/modules/views/theme/views-view-summary-unformatted.tpl.php


Which one you have to override depends on the type of summary.