From 47f69866f9c6a9abb0e84dbd1afd5298d8b64eb2 Mon Sep 17 00:00:00 2001 From: Olivier Lacan Date: Tue, 5 May 2015 10:59:01 -0400 Subject: [PATCH] Use SVG badges instead of PNG ones Looks better. ;-) http://shields.io --- README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 8371d32..fd32252 100644 --- a/README.md +++ b/README.md @@ -1,8 +1,8 @@ TruncateHtml ============ -[![Build Status](https://secure.travis-ci.org/hgmnz/truncate_html.png?branch=master)](http://travis-ci.org/hgmnz/truncate_html) -[![Code Climate](https://codeclimate.com/github/hgmnz/truncate_html.png)](https://codeclimate.com/github/hgmnz/truncate_html) +[![Build Status](https://secure.travis-ci.org/hgmnz/truncate_html.svg?branch=master)](http://travis-ci.org/hgmnz/truncate_html) +[![Code Climate](https://codeclimate.com/github/hgmnz/truncate_html.svg)](https://codeclimate.com/github/hgmnz/truncate_html) truncate_html cuts off a string of HTML and takes care of closing any lingering open tags. There are many ways to solve this. This library does not have any dependencies, and [parses HTML using regular expressions](http://stackoverflow.com/questions/1732348/regex-match-open-tags-except-xhtml-self-contained-tags/1732454#1732454).