There is this HTML:
<div class="footer"> <div class="tools"> <a role="button" class="material-button" href="{{item.url}}" target="_blank"> <i class="icon fa fa-file-text"></i> Запись </a> <button type="button" class="material-button" ng-click="copyPost(item)"> <i class="icon fa fa-clipboard"></i> Копировать </button> <share url="{{item.url}}" title="{{item.source.name}}" description="{{item.text}}"></share> </div> </div> Share Share HTML Template:
<div class="share-block"> <a class="material-button share vk" target="_blank" href="{{vk}}"><i class="fa fa-vk"></i></a> <a class="material-button share fb" target="_blank" href="{{fb}}"><i class="fa fa-facebook"></i></a> <a class="material-button share ok" target="_blank" href="{{ok}}"><i class="fa fa-odnoklassniki"></i></a> <a class="material-button share gp" target="_blank" href="{{gp}}"><i class="fa fa-google-plus"></i></a> </div> In the browser, it is displayed like this: 
After minifying HTML, it looks like this: 
As far as I understand, this is due to the fact that gaps have been removed when minifying. I climbed into the generated minified HTML to sort it out. In general, to my surprise, there are spaces between the <a> tags in the share component. There is NO space between the <a> and <button> tags that are in the tools diva.
Explain to me where is the logic, how to correct the situation? After all, in theory, there should be a space, since it is in the share component between the tags <a>.
Grunt, grunt-angular-templates.