Commit 4e8f36f2 authored by Nick Cernis's avatar Nick Cernis
Browse files

Add test for both italic and bold using underlined style, bump version

parent 53d52212
Branches
Tags 2.1.1
No related merge requests found
Showing with 2 additions and 1 deletion
......@@ -5,7 +5,7 @@ A helper class that converts HTML to [Markdown](http://daringfireball.net/projec
[![Build Status](https://travis-ci.org/nickcernis/html-to-markdown.png?branch=master)](https://travis-ci.org/nickcernis/html-to-markdown)
**Version**: 2.1.0
**Version**: 2.1.1
**Requires**: PHP 5.2+
**Author**: [@nickcernis](http://twitter.com/nickcernis)
**License**: [MIT](http://www.opensource.org/licenses/mit-license.php)
......
......@@ -41,6 +41,7 @@ class HTML_To_MarkdownTest extends PHPUnit_Framework_TestCase
$this->html_gives_markdown("<strong>Test</strong>", "**Test**");
$this->html_gives_markdown("<b>Test</b>", "**Test**");
$this->html_gives_markdown("<em>Test</em>", "_Test_", array('italic_style' => '_'));
$this->html_gives_markdown("<em>Italic</em> and a <strong>bold</strong>", "_Italic_ and a __bold__", array('italic_style' => '_', 'bold_style' => '__'));
$this->html_gives_markdown("<i>Test</i>", "_Test_", array('italic_style' => '_'));
$this->html_gives_markdown("<strong>Test</strong>", "__Test__", array('bold_style' => '__'));
$this->html_gives_markdown("<b>Test</b>", "__Test__", array('bold_style' => '__'));
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment