Ticket #26 (closed defect: duplicate)

Opened 6 years ago

Last modified 6 years ago

Emphasis for small words (1-2 letters) is broken

Reported by: bluecloth@… Owned by: deveiant
Milestone: Markdown 1.0.1 Component: MarkdownSyntax
Version: 1.0.0 Severity: normal
Keywords: syntax emphasis small words Cc: bluecloth@…

Description

It looks like emphasis for small words is broken as this test demonstrates:

  def test_small_word_with_emphasis
    input = %{this _is_ a test}
    output = BlueCloth.new(input).to_html
    assert_equal("<p>this <em>is</em> a test</p>", output)
  end

Change History

comment:1 Changed 6 years ago by deveiant

  • Keywords syntax emphasis small words added
  • Status changed from new to assigned
  • Version set to 1.0.0
  • Milestone set to Markdown 1.0.1

Thanks for the report. The test and the fix will be in the next release.

comment:2 Changed 6 years ago by deveiant

  • Component changed from API to MarkdownSyntax

comment:3 Changed 6 years ago by deveiant

  • Status changed from assigned to closed
  • Resolution set to duplicate

Duplicate of #13

Note: See TracTickets for help on using tickets.